Skip to content

Commit

Permalink
resolved chromedriver issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hiitsmocha committed Nov 14, 2024
1 parent b4da857 commit 5977421
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test_scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,20 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Chrome
- name: Install Chrome 94
run: |
# Remove any existing versions of Chrome
sudo apt-get remove -y google-chrome-stable || true
# Download Chrome 94 .deb package
wget https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_94.0.4606.81-1_amd64.deb -O /tmp/google-chrome-stable.deb
# Install Chrome 94
sudo apt-get update
sudo apt-get install -y google-chrome-stable
sudo apt-get install -y /tmp/google-chrome-stable.deb
# Verify installation
google-chrome --version
- name: Install ChromeDriver
run: |
wget https://chromedriver.storage.googleapis.com/94.0.4606.61/chromedriver_linux64.zip
Expand Down

0 comments on commit 5977421

Please sign in to comment.