MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / useWebView

Method useWebView

javascript/selenium-webdriver/edge.js:132–135  ·  view source on GitHub ↗

* Changes the browser name to 'webview2' to enable * * test automation of WebView2 apps with Microsoft Edge WebDriver * * * @param {boolean} enable flag to enable or disable the 'webview2' us

(enable)

Source from the content-addressed store, hash-verified

130 * @param {boolean} enable flag to enable or disable the 'webview2' usage
131 */
132 useWebView(enable) {
133 const browserName = enable ? 'webview2' : Browser.EDGE
134 return this.setBrowserName(browserName)
135 }
136}
137
138/**

Callers 1

options_test.jsFile · 0.45

Calls 1

setBrowserNameMethod · 0.45

Tested by

no test coverage detected