Skip to content

Webdrivermanager can not detect chrome version #74

@dimashyshkin

Description

@dimashyshkin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions