We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e69feee + 2b4a66d commit 1deb51fCopy full SHA for 1deb51f
1 file changed
java/src/org/openqa/selenium/firefox/FirefoxDriver.java
@@ -140,7 +140,9 @@ private static FirefoxDriverCommandExecutor generateExecutor(
140
if (service.getExecutable() == null) {
141
Result result = DriverFinder.getPath(service, options);
142
service.setExecutable(result.getDriverPath());
143
- options.setBinary(result.getBrowserPath());
+ if (result.getBrowserPath() != null && !options.getBinaryOrNull().isPresent()) {
144
+ options.setBinary(result.getBrowserPath());
145
+ }
146
}
147
return new FirefoxDriverCommandExecutor(service, clientConfig);
148
0 commit comments