Skip to content
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

Chrome Driver 116 unable to download Using Webdriver manger <version>4.2.2</version> #1104

Closed
koteswaraotekkem opened this issue Aug 18, 2023 · 5 comments
Labels

Comments

@koteswaraotekkem
Copy link

Description of the problem:

Browser and version:

Operating system:

WebDriverManager version:

WebDriverManager call:

WebDriverManager traces:

Error log:

@yimam-michael
Copy link

yimam-michael commented Aug 18, 2023

WebdriverManager Version 5.2.2

It is trying to get version information from the following endpoint, but it is getting 404.
https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116

The same endpoint works fine for older versions. For example
https://chromedriver.storage.googleapis.com/LATEST_RELEASE_114

@decarbonite
Copy link

decarbonite commented Aug 18, 2023

Facing same issue, tests are failing with the following error:

com.google.inject.ProvisionException: Unable to provision, see the following errors:

  1. Error injecting constructor, org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114
    Current browser version is 116.0.5845.96 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

Selenium Version 4.8.3
WebDriverManager Version 5.3.2

@bonigarcia
Copy link
Owner

Please use the latest version of WebDriverManager (5.4.1). Also, clear the cache (see doc) at least once to ensure the incorrect driver version (114) is not cached.

@koteswaraotekkem
Copy link
Author

Please use the latest version of WebDriverManager (5.4.1). Also, clear the cache (see doc) at least once to ensure the incorrect driver version (114) is not cached.

I am Using WebDriverManager indirecty from Selenide(which uses 4.2.2 version of WDM), So Selenide i cant upgrade now, is their any other alternatives ? Please suggest

@decarbonite
Copy link

@bonigarcia Would clearDriverCache() be sufficient to always get latest WebDriver, or do I also have to use it along side clearResolutionCache() to make sure it works?
Unfortunately, can't upgrade to Java 11 at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants