-
-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While I am replacing traditional way to initiate browser instance with WebDriverManager library, getting HTTP 403 error #891
Comments
WebDriverManager 5.3.0 fixed the 403 error for those drivers hosted in GitHub (e.g., geckodriver or operadriver). I've never seen the 403 error for chromedriver (hosted in googleapis.com) before. Where are you located? |
Alright. But this is happening in my case and location is UP, India. I am able to open the mentioned URL directly. |
It seems that there is some kind of connectivity issue at your end. It would help to see the complete WebDriverManager traces (not only the error message). For getting the WebDriverManager logs, you need to include a Logback configuration file (for example, like this) in your project classpath. The name of this file should be
After that, when running a test, your should see something like this:
For further info about logging with with SLF4J and Logback you can see the following tutorial. Also, as a possible fix, you can try to use the mirror:
|
Description of the problem:
Browser and version: <!-- Using chrome 104
Operating system: <!-- Windows 10 - 64 bits
WebDriverManager version: <!-- WebDriverManager version 5.3.0
WebDriverManager call: <!-- WebDriverManager code :
WebDriverManager.chromedriver().setup();
WebDriver driver = new ChromeDriver();
driver.get("http://www.google.com");
WebDriverManager traces:
ERROR io.github.bonigarcia.wdm.online.httpclient- Error HTTP 403 executing https://chromedriver.storage.googleapis.com
The text was updated successfully, but these errors were encountered: