* @param {(Capabilities|Map |Object)=} other Another set of * capabilities to initialize this instance from.
(other)
| 161 | * capabilities to initialize this instance from. |
| 162 | */ |
| 163 | constructor(other) { |
| 164 | super(other) |
| 165 | this.setBrowserName(Browser.FIREFOX) |
| 166 | // https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/. |
| 167 | // Enable BiDi only |
| 168 | this.setPreference('remote.active-protocols', 1) |
| 169 | } |
| 170 | |
| 171 | /** |
| 172 | * @return {!Object} |
nothing calls this directly
no test coverage detected