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
-
BROWSER =
# File 'rb/lib/selenium/webdriver/chrome/options.rb', line 27'chrome'
-
KEY =
# File 'rb/lib/selenium/webdriver/chrome/options.rb', line 26'goog:chromeOptions'
::Selenium::WebDriver::Options
- Inherited
::Selenium::WebDriver::Chromium::Options
- Inherited
Class Attribute Summary
::Selenium::WebDriver::Options
- Inherited
Class Method Summary
::Selenium::WebDriver::Chromium::Options
- Inherited
.new | Create a new |
::Selenium::WebDriver::Options
- Inherited
.chrome, .edge, .firefox, .ie, | |
.internet_explorer | Alias for Options.ie. |
.microsoftedge | Alias for Options.edge. |
.new, .safari, .set_capabilities |
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
- #binary_path private
- #enable_logging(browser_options) private
::Selenium::WebDriver::Chromium::Options
- Inherited
#add_argument | Add a command-line argument to use when starting |
#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
#==, | |
#add_option | Add a new option not yet handled by bindings. |
#eql? | Alias for Options#==. |
#camel_case, #camelize?, #convert_json_key, #generate_as_json, #process_browser_options, #process_json_hash, #process_w3c_options, #w3c?, #as_json |
Constructor Details
This class inherits a constructor from Selenium::WebDriver::Chromium::Options
Instance Method Details
#binary_path (private)
[ GitHub ]#enable_logging(browser_options) (private)
[ GitHub ]# File 'rb/lib/selenium/webdriver/chrome/options.rb', line 31
def enable_logging( ) ['goog:loggingPrefs'] = @logging_prefs end