class Selenium::WebDriver::Edge::Options
Constants
- BROWSER
- KEY
Public Instance Methods
Source
# File lib/selenium/webdriver/edge/options.rb, line 39 def webview2! @options[:browser_name] = 'webview2' end
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
WebDriver
@example Enable webview2
options = Selenium::WebDriver::Edge::Options.new options.webview2!
Private Instance Methods
Source
# File lib/selenium/webdriver/edge/options.rb, line 49 def binary_path Edge.path end
Source
# File lib/selenium/webdriver/edge/options.rb, line 45 def enable_logging(browser_options) browser_options['ms:loggingPrefs'] = @logging_prefs end