Skip to content

Commit db53d0f

Browse files
committed
Restoring FirefoxOptions.getBinary method to not return null always.
1 parent fa0e556 commit db53d0f

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public FirefoxOptions setBinary(String path) {
187187
* useful when actually starting firefox.
188188
*/
189189
public FirefoxBinary getBinary() {
190-
return null;
190+
return getBinaryOrNull().orElse(new FirefoxBinary());
191191
}
192192

193193
public Optional<FirefoxBinary> getBinaryOrNull() {

0 commit comments

Comments
 (0)