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

Method windowTypes

javascript/selenium-webdriver/chromium.js:544–550  ·  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

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

Callers 2

options_test.jsFile · 0.80
options_test.jsFile · 0.80

Calls 1

concatMethod · 0.45

Tested by

no test coverage detected