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

Method constructor

javascript/selenium-webdriver/firefox.js:247–253  ·  view source on GitHub ↗

* @param {(Capabilities|Map |Object)=} other Another set of * capabilities to initialize this instance from.

(other)

Source from the content-addressed store, hash-verified

245 * capabilities to initialize this instance from.
246 */
247 constructor(other) {
248 super(other)
249 this.setBrowserName(Browser.FIREFOX)
250 // https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/.
251 // Enable BiDi only
252 this.setPreference('remote.active-protocols', 1)
253 }
254
255 /**
256 * @return {!Object}

Callers

nothing calls this directly

Calls 2

setPreferenceMethod · 0.95
setBrowserNameMethod · 0.45

Tested by

no test coverage detected