Using the latest version of Chrome on CircleCI

Continuing the discussion from Update Chrome in container image:

@levlaz Can you please upload the latest chrome version (current is 51.0.2704.106). The default chrome version on CircleCI is 43.x.


Would it be possible to upload a 5x.x to the circle-downloads folder? We can’t move to ubuntu 14.04 atm so we’re relying on this method to get an updated version of chrome.

Using Ubuntu 14.04 (Trusty) in the CircleCI’s OS setting (Settings > Build Environment), the following worked for me.

    - curl -L -o google-chrome.deb
    - sudo dpkg -i google-chrome.deb
    - sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
    - rm google-chrome.deb

It always installs the latest version of chrome.

Script was provided here: