Skip to content

Commit

Permalink
Update Chrome, and Chromedriver Versions in Github Action Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
TasneemNatshah committed Dec 14, 2024
1 parent ae41ed8 commit 943cb20
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,21 @@ jobs:
- name: Install/Update Google Chrome browser
run: |
sudo apt install libu2f-udev
sudo apt-get install libappindicator1 fonts-liberation libgbm1 libgtk-3-0 xdg-utils
export CHROME_BIN=/usr/bin/google-chrome
CHROME_VERSION="115.0.5790.110-1"
wget https://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb
sudo dpkg -i google-chrome-stable_${CHROME_VERSION}_amd64.deb
rm google-chrome-stable_${CHROME_VERSION}_amd64.deb
sudo apt-get install libappindicator1 fonts-liberation libgbm1 libgtk-3-0 xdg-utils
export CHROME_BIN=/usr/bin/google-chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
- name: Install/Update Chrome Driver
run: |
CHROME_DRIVER_VERSION=114.0.5735.90;
echo $CHROME_DRIVER_VERSION;
wget http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
sudo chmod +x chromedriver
sudo mv -f chromedriver /usr/bin/
rm chromedriver_linux64.zip
CHROME_VERSION=$(google-chrome --product-version);
echo $CHROME_VERSION;
wget https://storage.googleapis.com/chrome-for-testing-public/$CHROME_VERSION/linux64/chromedriver-linux64.zip
unzip chromedriver-linux64.zip
sudo chmod +x chromedriver
sudo mv -f chromedriver /usr/bin/
rm chromedriver_linux64.zip
- name: Checkout repository
uses: actions/checkout@v3
Expand Down

0 comments on commit 943cb20

Please sign in to comment.