Class: AutomationHelpers::Drivers::V4::Capabilities
- Inherits:
-
Object
- Object
- AutomationHelpers::Drivers::V4::Capabilities
- Defined in:
- lib/automation_helpers/drivers/v4/capabilities.rb
Overview
The Capabilities object that will be used to instantiate whatever driver you are configuring
Class Method Summary collapse
-
.for(browser, device_options = {}) ⇒ Selenium::WebDriver::Remote::Capabilities
Returns the Capabilities hash relevant to the browser specified to be passed to the driver instantiation.
Class Method Details
.for(browser, device_options = {}) ⇒ Selenium::WebDriver::Remote::Capabilities
Returns the Capabilities hash relevant to the browser specified to be passed to the driver instantiation
16 17 18 |
# File 'lib/automation_helpers/drivers/v4/capabilities.rb', line 16 def for(browser, = {}) ::Selenium::WebDriver::Remote::Capabilities.new(capabilities_hash(browser, )) end |