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

Webdrivermanager can not detect chrome version #74

Open
dimashyshkin opened this issue Jul 29, 2021 · 2 comments
Open

Webdrivermanager can not detect chrome version #74

dimashyshkin opened this issue Jul 29, 2021 · 2 comments

Comments

@dimashyshkin
Copy link

We are using webdrivermanager command-line options when running tests on docker and recently started getting an issue, where webdrivermanager can not detect the correct chrome version. So it downloads the latest, and sometimes tests fail because of version mismatch

Step 11/29 : RUN webdrivermanager  chrome --linkpath AUTO
09:35:34   ---> Running in 03faac027e3a
09:35:34  Error, unable to read current browser version
09:35:34  Failed to parse compatible version: Error, unable to read current browser version
09:35:34  Error, unable to read current browser version
09:35:34  Failed to parse compatible version: Error, unable to read current browser version
09:35:35  Downloading WebDriver for browser: "chrome"
09:35:35  
  0%|          | 0/5945 [00:00<?, ?kb/s]
5946kb [00:00, 60258.13kb/s]            
09:35:35  Error, unable to read current browser version
09:35:35  Failed to parse compatible version: Error, unable to read current browser version
09:35:35  Driver binary downloaded to: "/usr/local/share/WebDriverManager/chrome/93.0.4577.15/chromedriver_linux64/chromedriver"
09:35:35  Symlink created: /usr/local/bin/chromedriver

As a result, later all tests fail with this:

SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 93
Current browser version is 92.0.4515.107 with binary path /usr/bin/google-chrome

I see that there were no changes to webdrivermanager recently, but maybe something changed on the Chrome side, so now webdrivermanager needs an update?

@elveera0491
Copy link

Were you able to fix or work around this issue?

@dimashyshkin
Copy link
Author

We just stopped using webdrivermanager and downloading chromedriver latest version manually (through the script)

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

No branches or pull requests

2 participants