Virtual Users startup fails with "This version of ChromeDriver only supports Chrome version 90"

Description

Activity

Show:
Mikolaj Zyromski
April 14, 2021, 12:32 PM
Edited

Chrome 90 (required by latest chromedriver) is not available as a stable version yet. Not only as Ubuntu package, but in general.

Mikolaj Zyromski
April 14, 2021, 12:30 PM

Thanks for providing the context.

Older Chrome versions are not available, but that’s not the case for older chromedriver versions. We could try installing latest available Chrome package, check the version and download a matching chromedriver version, as described here. This will at least address one side of the problem (latest chromedriver not supporting latest Chrome).

Maciej Kwidzinski
April 14, 2021, 12:20 PM
Edited

Problem is: Google actively removes old Chrome versions in packaging systems. There is no way to install old Chrome on Ubuntu for example. At least that was the case a while ago.

We used to switch to Chromium, which does offer old versions. We used presets with manually linked ChromeDrivers. We could add some newer versions there.

Note that we piggybacked on these manual pairings to fix some ChromeDriver bugs. Finally ‘s fix was released in ChromeDriver 77, so it’s no longer necessary for newer Chromium versions. Props to Wyrzyk BTW

Mikolaj Zyromski
April 14, 2021, 12:03 PM

So latest chromedriver version (90.0.4430.24) requires Chrome v90, while latest Debian package contains v89.0.4389.128.

, CustomChromium looks like a good workaround. That said, long-term, I’m not sure if current approach where we download latest versions of chromedriver and Chrome independently, having no guarantee of them being mutually compatible, is a good one. WDYT?

Maciej Kwidzinski
April 14, 2021, 10:40 AM

Does it happen with infra Chrome? If so then the CustomChromium could work around the bug.

Done

Priority

Blocker

Assignee

Mikolaj Zyromski

Reporter

Mikolaj Zyromski

Fix versions

Affects versions