Skip to content

Commit

Permalink
Add chromedriver
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan goswami committed Aug 4, 2023
1 parent 16a444c commit 28e1965
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/orca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,18 @@ jobs:

- name: Install google-chrome-stable
run: |
VERSION_STRING="114.0.5735.198-1"
wget "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${VERSION_STRING}_amd64.deb"
sudo dpkg -i "google-chrome-stable_${VERSION_STRING}_amd64.deb"
CHROME_VERSION_STRING="114.0.5735.198-1"
CHROME_DRIVER_VERSION_STRING="114.0.5735.90"
wget "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION_STRING}_amd64.deb"
sudo dpkg -i "google-chrome-stable_${CHROME_VERSION_STRING}_amd64.deb"
# Download driver
which chromerdriver
wget -N https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION_STRING}/chromedriver_linux64.zip -P ~/
unzip ~/chromedriver_linux64.zip -d ~/
rm ~/chromedriver_linux64.zip
sudo mv -f ~/chromedriver /usr/local/share/
sudo chmod +x /usr/local/share/chromedriver
sudo ln -s ~/chromedriver /usr/local/bin/chromedriver
- name: Before install
run: |
Expand Down

0 comments on commit 28e1965

Please sign in to comment.