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 c575a94
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/orca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ 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"
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"
- name: Before install
run: |
Expand All @@ -113,6 +113,20 @@ jobs:

- name: Script
run: |
# Download driver
which chromedriver
CHROME_DRIVER_VERSION_STRING="114.0.5735.90"
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
echo $GITHUB_PATH
sudo netstat -nlp
sudo rm -rf /usr/bin/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
echo "/usr/bin/chromedriver" >> $GITHUB_PATH
echo $GITHUB_PATH
../orca/bin/ci/self-test/script.sh
unset ORCA_ENABLE_NIGHTWATCH
../orca/bin/ci/script.sh
Expand Down

0 comments on commit c575a94

Please sign in to comment.