Skip to content

Commit 6aa667a

Browse files
committed
[java] Add the debuggerAddress capability back to Firefox options
1 parent 773f9e0 commit 6aa667a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public class FirefoxOptions extends AbstractDriverOptions<FirefoxOptions> {
6262
public FirefoxOptions() {
6363
setCapability(CapabilityType.BROWSER_NAME, FIREFOX.browserName());
6464
setAcceptInsecureCerts(true);
65+
setCapability("moz:debuggerAddress", true);
6566
// Firefox 129 onwards the CDP protocol will not be enabled by default. Setting this preference
6667
// will enable it.
6768
// https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-with-webdriver-bidi/.

0 commit comments

Comments
 (0)