MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / windowTypes

Method windowTypes

javascript/selenium-webdriver/chromium.js:545–551  ·  view source on GitHub ↗

* Sets a list of the window types that will appear when getting window * handles. For access to elements, include "webview" in the list. * @param {...(string|!Array )} args The window types that will appear * when getting window handles. * @return {!Options} A self refer

(...args)

Source from the content-addressed store, hash-verified

543 * @return {!Options} A self reference.
544 */
545 windowTypes(...args) {
546 let windowTypes = (this.options_.windowTypes || []).concat(...args)
547 if (windowTypes.length) {
548 this.options_.windowTypes = windowTypes
549 }
550 return this
551 }
552
553 /**
554 * Enable bidi connection

Callers 2

options_test.jsFile · 0.80
options_test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected