Method: Appium::Core::Driver#direct_connect

Defined in:
lib/appium_lib_core/driver.rb

#direct_connectBool (readonly)

[Experimental feature]
Enable an experimental feature updating Http client endpoint following below keys by Appium/Selenium server.
This works with Base::Http::Default.

If your Selenium/Appium server decorates the new session capabilities response with the following keys:

  • directConnectProtocol

  • directConnectHost

  • directConnectPort

  • directConnectPath

ignore them if this parameter is false. Defaults to true. These keys can have appium: prefix.

Returns:

  • (Bool)

181
182
183
# File 'lib/appium_lib_core/driver.rb', line 181

def direct_connect
  @direct_connect
end