Ubuntu1604 image updated on February 6, 2023 does not seem to include Chrome browser

Guillaume's Avatar

Guillaume

08 Feb, 2023 02:35 PM

Since the new image update on February 6, 2023 our builds are failing when updating ChromeDriver using rake (bundle exec rake webdrivers:chromedriver:update), with the following error message :
Webdrivers::BrowserNotFound: Failed to find Chrome binary.

It is working flawlessly using Previous Ubuntu1604

Has Chrome been installed differently compared to previous image ?

Many thanks for your help
Guillaume

  1. Support Staff 1 Posted by Feodor Fitsner on 08 Feb, 2023 05:11 PM

    Feodor Fitsner's Avatar

    Hi Guillaume,

    It looks like the latest version of Chrome 109.0 is not compatible with Ubuntu 16.04 anymore: https://support.google.com/chrome/a/answer/7100626?hl=en
    Related issue on SO: https://askubuntu.com/questions/1450005/ubuntu-16-04-package-libu2f...

    Have you tried running your tests on ubuntu1804 or ubuntu2004 images?

  2. 2 Posted by Guillaume on 09 Feb, 2023 09:27 AM

    Guillaume's Avatar

    Anything planned to install a Chrome version compatible with Ubuntu 16.04?

  3. Support Staff 3 Posted by Feodor Fitsner on 09 Feb, 2023 07:10 PM

    Feodor Fitsner's Avatar

    Sure, we'll adjust the image to install older Chrome version.

    In the meantime, you can use the following script to install Chrome 107.0 on Ubuntu 16.04: https://gist.github.com/FeodorFitsner/32a89ee82a9f67bf73a532c4ed1ea927
    Tested here: https://ci.appveyor.com/project/FeodorFitsner/appveyor-check/builds...
    You can install any version by getting it's number from here: https://www.ubuntuupdates.org/package/google_chrome/stable/main/bas...

    Btw, could you share a simple (Ruby?) script that allows checking if the browser is correctly installed? I'll add that to image tests.

  4. Feodor Fitsner closed this discussion on 11 Apr, 2023 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac