Skip to content

Instantly share code, notes, and snippets.

@davissp14
Forked from phra/config.yml
Created January 19, 2020 18:34
Show Gist options
  • Save davissp14/293b5fc718c576f90f47c0edf8e94e4c to your computer and use it in GitHub Desktop.
Save davissp14/293b5fc718c576f90f47c0edf8e94e4c to your computer and use it in GitHub Desktop.
Update Chrome to latest version on CircleCI 2.0
- run: #STABLE
name: Install Chromedriver latest version
command: |
sudo apt-get update
sudo apt-get install lsb-release libappindicator3-1
curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome.deb
sudo sed -i 's|HERE/chrome"|HERE/chrome" --no-sandbox|g' /opt/google/chrome/google-chrome
rm google-chrome.deb
- run: #BETA
name: Install Chromedriver latest version
command: |
sudo apt-get update
sudo apt-get install lsb-release libappindicator3-1
curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb
sudo dpkg -i google-chrome.deb
sudo sed -i 's|HERE/chrome"|HERE/chrome" --no-sandbox|g' /opt/google/chrome-beta/google-chrome-beta
rm google-chrome.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment