Class: Selenium::WebDriver::Edge::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/edge/options.rb |
Constant Summary
-
BROWSER =
# File 'rb/lib/selenium/webdriver/edge/options.rb', line 27'MicrosoftEdge' -
KEY =
# File 'rb/lib/selenium/webdriver/edge/options.rb', line 26'ms:edgeOptions'
::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
-
#webview2!
Changes the browser name enable webview2 see: learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/webdriver Automation of WebView2 apps with Microsoft Edge
::Selenium::WebDriver. - #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_unhandled_prompt_behavior_value, #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/edge/options.rb', line 45
def enable_logging() ['ms:loggingPrefs'] = @logging_prefs end
#webview2!
Changes the browser name enable webview2 see: learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/webdriver Automation of WebView2 apps with Microsoft Edge ::Selenium::WebDriver
# File 'rb/lib/selenium/webdriver/edge/options.rb', line 39
def webview2! @options[:browser_name] = 'webview2' end