Skip to content

Commit

Permalink
Bug-fix reading wdm version
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Aug 25, 2023
1 parent 52e287f commit 47376fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ protected abstract List<URL> getDriverUrls(String driverVersion)

protected WebDriverManager() {
Optional<String> wdVersion = getWdmVersion(getClass());
if (wdVersion.equals(wdVersion)) {
if (wdVersion.isPresent()) {
log.debug("Using WebDriverManager {}", wdVersion.get());
}
config = new Config();
Expand Down

0 comments on commit 47376fc

Please sign in to comment.