bonigarcia / webdrivermanager

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

WebDriverManager fails to apply the latest chromedriver #1236

Closed TatuLund closed 6 months ago

TatuLund commented 6 months ago

I see that after updating to v5.6.4 the latest chromedriver is loaded, but after that there is an error and manager falls back to old version, which does not work.

[main] INFO io.github.bonigarcia.wdm.WebDriverManager - Using chromedriver 121.0.6167.184 (resolved driver for Chrome 121)
[main] INFO io.github.bonigarcia.wdm.WebDriverManager - Reading https://chromedriver.storage.googleapis.com/ to seek chromedriver
[main] INFO io.github.bonigarcia.wdm.online.Downloader - Downloading https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.184/win64/chromedriver-win64.zip
[main] ERROR io.github.bonigarcia.wdm.online.HttpClient - Error HTTP 500 executing https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.184/win64/chromedriver-win64.zip
[main] INFO io.github.bonigarcia.wdm.cache.ResolutionCache - Clearing WebDriverManager resolution cache
[main] WARN io.github.bonigarcia.wdm.WebDriverManager - There was an error managing chromedriver 121.0.6167.184 (Error HTTP 500 executing https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.184/win64/chromedriver-win64.zip) ... trying again avoiding reading release from repository
[main] INFO io.github.bonigarcia.wdm.WebDriverManager - Reading https://chromedriver.storage.googleapis.com/ to seek chromedriver
[main] INFO io.github.bonigarcia.wdm.online.Downloader - Downloading https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_win32.zip
[main] INFO io.github.bonigarcia.wdm.online.Downloader - Extracting driver from compressed file chromedriver_win32.zip
[main] INFO io.github.bonigarcia.wdm.WebDriverManager - Exporting webdriver.chrome.driver as C:\Users\Tatu\.cache\selenium\chromedriver\win32\114.0.5735.90\chromedriver.exe
bonigarcia commented 6 months ago

Use WebDriverManager 5.7.0.

pintuxik commented 6 months ago

Just update your chrome to 122, that will resolve issue with latest wdm