Skip to content

Commit fc77efd

Browse files
authored
Merge branch 'trunk' into edge_network_bidi_tests
2 parents 31c6b88 + 019f7c5 commit fc77efd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

java/src/org/openqa/selenium/firefox/FirefoxOptions.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@ public class FirefoxOptions extends AbstractDriverOptions<FirefoxOptions> {
6262
public FirefoxOptions() {
6363
setCapability(CapabilityType.BROWSER_NAME, FIREFOX.browserName());
6464
setAcceptInsecureCerts(true);
65-
// Firefox 129 onwards the CDP protocol will not be enabled by default. Setting this preference
66-
// will enable it.
6765
// https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/.
68-
addPreference("remote.active-protocols", 3);
66+
// Enable BiDi only
67+
addPreference("remote.active-protocols", 1);
6968
}
7069

7170
public FirefoxOptions(Capabilities source) {

0 commit comments

Comments
 (0)