Closed DarrenW-HMPPS closed 5 months ago
Hello, thanks for reporting and the detailed description. I have confirmed this issue. However, the error trace is just a warning, and WebDriverManager manages to use the latest geckodriver version:
2024-02-23 15:58:48.949 WARN 1 --- [nio-8080-exec-8] i.g.bonigarcia.wdm.WebDriverManager : Exception getting geckodriver version from https://raw.githubusercontent.com/SeleniumHQ/selenium/trunk/common/geckodriver/geckodriver-support.json
java.lang.NumberFormatException: Cannot parse null string
at java.base/java.lang.Integer.parseInt(Unknown Source)
...
2024-02-23 15:58:49.664 INFO 1 --- [nio-8080-exec-8] i.g.bonigarcia.wdm.WebDriverManager : Exporting webdriver.gecko.driver as /home/appuser/.cache/selenium/geckodriver/linux64/0.34.0/geckodriver
In any case, I am going to land a commit to avoid the error trace in the next WDM release.
WebDriverManager 5.8.0 is out.
Description of the problem: NumberFormatExceptions logged when creating a WebDriver - "Cannot parse null string" These don't seem to prevent the code from progressing, but cause a lot of clutter in the logs. We had not seen the exceptions before upgrading to 5.7.0.
Browser and version: FireFox ESR version - 115.8
Operating system and architecture: Ubuntu - 22.04
Selenium version: selenium 4.14.1
WebDriverManager version: 5.7.0
WebDriverManager call:
WebDriverManager traces:
Error log: