diff --git a/java/src/org/openqa/selenium/firefox/FirefoxOptions.java b/java/src/org/openqa/selenium/firefox/FirefoxOptions.java index c5c22f7791a73..afa0403f16cfe 100644 --- a/java/src/org/openqa/selenium/firefox/FirefoxOptions.java +++ b/java/src/org/openqa/selenium/firefox/FirefoxOptions.java @@ -62,10 +62,9 @@ public class FirefoxOptions extends AbstractDriverOptions { public FirefoxOptions() { setCapability(CapabilityType.BROWSER_NAME, FIREFOX.browserName()); setAcceptInsecureCerts(true); - // Firefox 129 onwards the CDP protocol will not be enabled by default. Setting this preference - // will enable it. // https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/. - addPreference("remote.active-protocols", 3); + // Enable BiDi only + addPreference("remote.active-protocols", 1); } public FirefoxOptions(Capabilities source) {