bonigarcia / webdrivermanager

Automated driver management and other helper features for Selenium WebDriver in Java
https://bonigarcia.dev/webdrivermanager/
Apache License 2.0
2.56k stars 675 forks source link

Seeing Error io.github.bonigarcia.wdm.config.WebDriverManagerException: java.lang.NumberFormatException: For input string: "public" #1245

Closed vvsbalu closed 6 months ago

vvsbalu commented 7 months ago

Its working fine on local but facing this issue in jenkins pipeline which is hosted on remote window machine. Versions using in our env chrome --> Version 122.0.6261.70 (Official Build) (64-bit) webdrivermanager - 5.7.0 selenium-java -- 3.141.59

bonigarcia commented 6 months ago

Using the latest WebDriverManager version (5.7.0 at the time of this writing) and clearing the cache (at least once) should fix this issue:

WebDriverManager.chromedriver().clearDriverCache().setup();

If not, please report your WebDriverManager traces. See: https://bonigarcia.dev/webdrivermanager/#troubleshooting

Also, please follow the issue template for reporting any issue.