Skip to content

Commit

Permalink
chromedriver version
Browse files Browse the repository at this point in the history
  • Loading branch information
hiitsmocha committed Nov 14, 2024
1 parent df618b2 commit d83e1d9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test_scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,15 @@ jobs:
exit 1
fi
- name: setup-chromedriver
uses: nanasess/[email protected]

- name: Install ChromeDriver
run: |
CHROMEDRIVER_VERSION=$(curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE)
echo "Installing ChromeDriver version $CHROMEDRIVER_VERSION"
curl -Lo /tmp/chromedriver.zip "https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip" || { echo "Failed to download ChromeDriver."; exit 1; }
sudo apt-get update
sudo apt-get install -y unzip
sudo unzip /tmp/chromedriver.zip -d /usr/local/bin/
sudo chmod +x /usr/local/bin/chromedriver
# include input commands into the command line
- name: Run Scraper
env:
Expand Down

0 comments on commit d83e1d9

Please sign in to comment.