Restoring FirefoxOptions.getBinary method to not return null always.
@@ -187,7 +187,7 @@ public FirefoxOptions setBinary(String path) {
* useful when actually starting firefox.
*/
public FirefoxBinary getBinary() {
- return null;
+ return getBinaryOrNull().orElse(new FirefoxBinary());
}
public Optional<FirefoxBinary> getBinaryOrNull() {
