Docs Navigation

How to update Chrome on Semaphore?

If your developement process depends on the latest Chrome version which is not pre-installed on Semaphore, you can install it by adding the following commands to the setup of the build:

sudo touch /etc/apt/sources.list.d/google-chrome-source.list
install-package --update-new google-chrome-stable

These commands cache installations from APT with our install-package tool. To get more detailed informations about its options, refer to this page.

Software updates on Semaphore are provided with regular platform updates. Also, every platform update comes with updated and compatible versions of ChromeDriver and Google Chrome stable.

Semaphore currently supports Chrome 66.0.3359.117 and ChromeDriver 2.38.

# Common issues

chromedriver-helper gem is often configured to use the latest available version of ChromeDriver. This can lead to an incompatibility issue (shown below), indicating that the pre-installed Google Chrome version isn't supported.

session not created exception: Chrome version must be >= 65.0.3325.0 
(Driver info: chromedriver=2.38.551591 (bcc4a2cdef0f6b942b2bb8049068f65340fa2a69)

In this case, the chromedriver-helper gem overrides the pre-installed version, and the latest version is used instead of the included one.

Besides updating Google Chrome, you can also configure chromedriver-helper gem to use a compatible ChromeDriver version (2.38)

For the fastest feedback loop, you can try these steps while in an SSH session.

Semaphore Docs are open source — Edit on GitHub

Newsletter

Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2018 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.