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

Function bidiRequired

javascript/selenium-webdriver/lib/web_extension.js:59–63  ·  view source on GitHub ↗

* @param {string} method the driver method that needs BiDi. * @return {!error.UnsupportedOperationError}

(method)

Source from the content-addressed store, hash-verified

57 * @return {!error.UnsupportedOperationError}
58 */
59function bidiRequired(method) {
60 return new error.UnsupportedOperationError(
61 `${method} requires BiDi; enable it with options.enableBidi() before creating the session`,
62 )
63}
64
65/**
66 * Checks the install options against the ones this browser honors, so an option it would drop

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected