Skip to content

Commit d1b21d0

Browse files
committed
Set the moz:debuggerAddress capability for Firefox by default
We've gone back-and-forward on this issue, but since newer versions of geckodriver can drive older versions of Firefox, and we expect Selenium 4 to be around for a long time, it seems reasonable to state that geckodriver 0.29.0 or later is a requirement for using Firefox.
1 parent 1ead9ee commit d1b21d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public FirefoxOptions() {
9393

9494
setCapability(CapabilityType.BROWSER_NAME, BrowserType.FIREFOX);
9595
setAcceptInsecureCerts(true);
96-
// setCapability("moz:debuggerAddress", true);
96+
setCapability("moz:debuggerAddress", true);
9797
}
9898

9999
public FirefoxOptions(Capabilities source) {

0 commit comments

Comments
 (0)