Class: Selenium::WebDriver::Edge::Options
- Inherits:
-
Chromium::Options
- Object
- WebDriver::Options
- Chromium::Options
- Selenium::WebDriver::Edge::Options
- Defined in:
- rb/lib/selenium/webdriver/edge/options.rb
Constant Summary collapse
- KEY =
'ms:edgeOptions'- BROWSER =
'MicrosoftEdge'
Constants inherited from Chromium::Options
Chromium::Options::CAPABILITIES
Instance Attribute Summary
Attributes inherited from Chromium::Options
#extensions, #logging_prefs, #profile
Instance Method Summary collapse
-
#webview2! ⇒ Object
Changes the browser name enable webview2 see: https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/webdriver Automation of WebView2 apps with Microsoft Edge WebDriver.
Methods inherited from Chromium::Options
#add_argument, #add_emulation, #add_encoded_extension, #add_extension, #add_preference, #enable_android, #initialize
Constructor Details
This class inherits a constructor from Selenium::WebDriver::Chromium::Options
Instance Method Details
#webview2! ⇒ Object
Changes the browser name enable webview2 see: https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/webdriver Automation of WebView2 apps with Microsoft Edge WebDriver
39 40 41 |
# File 'rb/lib/selenium/webdriver/edge/options.rb', line 39 def webview2! @options[:browser_name] = 'webview2' end |