[🐛 Bug]: WARNING: There was an error managing chromedriver 116.0.5845.96
What happened?
Team I am not able to download 116 driver as required for Chrome116 Tried - 4.11 selenium java + webdrivermanager 5.5.2 Tried - Selenium java 4.8.3 + webdrivermanager 5.5.2 Using eclipse IDE
WebDriverManager.chromedriver().clearDriverCache().setup(); WebDriverManager.chromedriver().clearResolutionCache().setup(); Thread.sleep(2000); // Sleep for 2 seconds WebDriverManager.chromedriver().setup();
How can we reproduce the issue?
<artifactId>webdrivermanager</artifactId>
<version>5.5.2</version>
<artifactId>selenium-java</artifactId>
<version>4.11.0</version>
Relevant log output
Log 1
Aug 31, 2023 3:32:51 PM io.github.bonigarcia.wdm.WebDriverManager resolveDriverVersion
INFO: Using chromedriver 116.0.5845.96 (resolved driver for Chrome 116)
Aug 31, 2023 3:32:51 PM io.github.bonigarcia.wdm.WebDriverManager logSeekRepo
INFO: Reading https://chromedriver.storage.googleapis.com/ to seek chromedriver
Aug 31, 2023 3:32:54 PM io.github.bonigarcia.wdm.online.Downloader downloadAndExtract
INFO: Downloading https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
**Aug 31, 2023 3:32:55 PM io.github.bonigarcia.wdm.online.HttpClient execute
SEVERE: Error HTTP 403 executing https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
Aug 31, 2023 3:32:55 PM io.github.bonigarcia.wdm.cache.ResolutionCache clear
INFO: Clearing WebDriverManager resolution cache**
Aug 31, 2023 3:32:55 PM io.github.bonigarcia.wdm.WebDriverManager handleException
WARNING: There was an error managing chromedriver 116.0.5845.96 (Error HTTP 403 executing https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip) ... trying again avoiding reading release from repository
Aug 31, 2023 3:32:55 PM io.github.bonigarcia.wdm.WebDriverManager logSeekRepo
INFO: Reading https://chromedriver.storage.googleapis.com/ to seek chromedriver
Aug 31, 2023 3:32:56 PM io.github.bonigarcia.wdm.online.Downloader downloadAndExtract
INFO: Downloading https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_win32.zip
Aug 31, 2023 3:32:57 PM io.github.bonigarcia.wdm.online.Downloader extract
Log 2
Aug 31, 2023 3:32:54 PM io.github.bonigarcia.wdm.online.Downloader downloadAndExtract
INFO: Downloading https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
Aug 31, 2023 3:32:55 PM io.github.bonigarcia.wdm.online.HttpClient execute
SEVERE: Error HTTP 403 executing https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
Aug 31, 2023 3:32:55 PM io.github.bonigarcia.wdm.cache.ResolutionCache clear
INFO: Clearing WebDriverManager resolution cache
Aug 31, 2023 3:32:55 PM io.github.bonigarcia.wdm.WebDriverManager handleException
**WARNING: There was an error managing chromedriver 116.0.5845.96 (Error HTTP 403 executing https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip) ... trying again avoiding reading release from repository**
Aug 31, 2023 3:32:55 PM io.github.bonigarcia.wdm.WebDriverManager logSeekRepo
INFO: Reading https://chromedriver.storage.googleapis.com/ to seek chromedriver
Aug 31, 2023 3:32:56 PM io.github.bonigarcia.wdm.online.Downloader downloadAndExtract
INFO: Downloading https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_win32.zip
Aug 31, 2023 3:32:57 PM io.github.bonigarcia.wdm.online.Downloader extract
INFO: Extracting driver from compressed file chromedriver_win32.zip
Aug 31, 2023 3:32:57 PM io.github.bonigarcia.wdm.WebDriverManager exportDriver
INFO: Exporting webdriver.chrome.driver as C:\Users\Vaibhav.Sharma\.cache\selenium\chromedriver\win32\114.0.5735.90\chromedriver.exe
Aug 31, 2023 3:32:57 PM io.github.bonigarcia.wdm.cache.ResolutionCache clear
INFO: Clearing WebDriverManager resolution cache
Aug 31, 2023 3:32:58 PM io.github.bonigarcia.wdm.WebDriverManager resolveDriverVersion
INFO: Using chromedriver 116.0.5845.96 (resolved driver for Chrome 116)
Aug 31, 2023 3:32:58 PM io.github.bonigarcia.wdm.WebDriverManager logSeekRepo
INFO: Reading https://chromedriver.storage.googleapis.com/ to seek chromedriver
Aug 31, 2023 3:32:59 PM io.github.bonigarcia.wdm.online.Downloader downloadAndExtract
INFO: Downloading https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
Aug 31, 2023 3:33:01 PM io.github.bonigarcia.wdm.cache.ResolutionCache clear
INFO: Clearing WebDriverManager resolution cache
Aug 31, 2023 3:33:01 PM io.github.bonigarcia.wdm.WebDriverManager handleException
WARNING: There was an error managing chromedriver 116.0.5845.96 (Premature end of Content-Length delimited message body (expected: 7130021; received: 6435401)) ... trying again avoiding reading release from repository
Aug 31, 2023 3:33:01 PM io.github.bonigarcia.wdm.WebDriverManager logSeekRepo
Operating System
Windows 10
Selenium version
selenium 4.11.0
What are the browser(s) and version(s) where you see this issue?
Chrome 116
What are the browser driver(s) and version(s) where you see this issue?
chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
Are you using Selenium Grid?
No
@VaibhavMTH, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template label.
If the issue is a question, add the I-question label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-* label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer label.
Thank you!
We do not maintain WebDriverManager.
Selenium has implemented functionality to replace the basic WebDriverManager implementation, so you should be able to remove that dependency entirely.
That said, your log is showing Error HTTP 403 which is an indication that there is some kind of network/proxy limitation on your computer preventing the driver from being downloaded from that location that you'll want to investigate.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.