selenium-webdriver/edge~ Options

Class for managing edge chromium specific options.

Constructor

new Options()

Methods

setEdgeChromiumBinaryPath(path) → (non-null) {Options}

Sets the path to the edge binary to use

The binary path be absolute or relative to the msedgedriver server executable, but it must exist on the machine that will launch edge chromium.

Parameters:
NameTypeDescription
pathstring

The path to the msedgedriver binary to use.

Returns:

A self reference.

Type: 
Options

useWebView(enable)

Changes the browser name to 'webview2' to enable test automation of WebView2 apps with Microsoft Edge WebDriver

Parameters:
NameTypeDescription
enableboolean

flag to enable or disable the 'webview2' usage