[java] Fix bug where failing Selenium Manager method results in wrong error
@@ -141,6 +141,7 @@ protected static File findExecutable(
exePath = SeleniumManager.getInstance().getDriverPath(exeName);
checkExecutable(new File(exePath));
} catch (Exception e) {
+ exePath = null;
LOG.warning(String.format("Unable to obtain driver using Selenium Manager: %s", e.getMessage()));
}
}
