Class | Selenium::WebDriver::Remote::Bridge |
In: |
lib/selenium/webdriver/remote/bridge.rb
lib/selenium/webdriver/remote/commands.rb |
Parent: | Object |
@api private
QUIT_ERRORS | = | [IOError] |
capabilities | [R] | |
context | [RW] | |
file_detector | [RW] | |
http | [RW] |
Defines a wrapper method for a command, which ultimately calls execute.
@param name [Symbol]
name of the resulting method
@param url [String]
a URL template, which can include some arguments, much like the definitions on the server. the :session_id parameter is implicitly handled, but the remainder will become required method arguments.
@param verb [Symbol]
the appropriate http verb, such as :get, :post, or :delete
Initializes the bridge with the given server URL.
@param url [String] url for the remote server @param http_client [Object] an HTTP client instance that implements the same protocol as Http::Default @param desired_capabilities [Capabilities] an instance of Remote::Capabilities describing the capabilities you want