Last active
April 28, 2022 11:32
-
-
Save phra/192b6c0ada3f6eaf4029e430430b79fe to your computer and use it in GitHub Desktop.
Update Chrome to latest version on CircleCI 2.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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 | |
Worked before, but now loads only 1449 (bytes?) and shows that it is the total size. If I load the file locally stable is 79.0M in curl. At least with curl 7.52.1 version of curl.
Edit: Now seems to work again. Maybe it was some bug with the package, or something like that.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you 🙏