* @param {(Capabilities|Map |Object)=} other Another set of * capabilities to initialize this instance from.
(other)
| 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} |
nothing calls this directly
no test coverage detected