123456789_123456789_123456789_123456789_123456789_

Class: Selenium::WebDriver::Chrome::Options

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Selenium::WebDriver::Chromium::Options
Defined in: rb/lib/selenium/webdriver/chrome/options.rb

Constant Summary

::Selenium::WebDriver::Options - Inherited

GRID_OPTIONS, W3C_OPTIONS

::Selenium::WebDriver::Chromium::Options - Inherited

CAPABILITIES

Class Attribute Summary

Class Method Summary

Instance Attribute Summary

::Selenium::WebDriver::Chromium::Options - Inherited

#extensions

NOTE: special handling of ‘extensions’ to validate when set instead of when used.

#extensions=

Add an extension by local path.

#logging_prefs, #profile

::Selenium::WebDriver::Options - Inherited

Instance Method Summary

::Selenium::WebDriver::Chromium::Options - Inherited

#add_argument

Add a command-line argument to use when starting ::Selenium::WebDriver::Chrome.

#add_emulation

Add emulation device information.

#add_encoded_extension

Add an extension by Base64-encoded string.

#add_extension

Add an extension by local path.

#add_preference

Add a preference that is only applied to the user profile in use.

#enable_android

Enables mobile browser use on Android.

::Selenium::WebDriver::Options - Inherited

Constructor Details

This class inherits a constructor from Selenium::WebDriver::Chromium::Options

Instance Method Details

#binary_path (private)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/chrome/options.rb', line 35

def binary_path
  Chrome.path
end

#enable_logging(browser_options) (private)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/chrome/options.rb', line 31

def enable_logging(browser_options)
  browser_options['goog:loggingPrefs'] = @logging_prefs
end