Virtual Users startup fails with "This version of ChromeDriver only supports Chrome version 90"
Chrome 90 (required by latest chromedriver) is not available as a stable version yet. Not only as Ubuntu package, but in general.
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).
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
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?