Skip to content

Commit

Permalink
stable + 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan goswami committed Aug 23, 2023
1 parent ca8ff08 commit fe39912
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/orca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,34 +94,25 @@ jobs:

- name: Install google-chrome-stable
run: |
# remove existing google chrome and install required version.
sudo dpkg -r google-chrome-stable
CHROME_VERSION_STRING="114.0.5735.198-1"
wget --no-verbose -O /tmp/chrome.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.198-1_amd64.deb \
&& sudo apt install -y /tmp/chrome.deb \
&& sudo rm /tmp/chrome.deb
sudo echo "CHROME_BIN=/usr/bin/google-chrome" | sudo tee -a /etc/environment
update-alternatives --list google-chrome
update-alternatives --display google-chrome
CHROME_VERSION="$(google-chrome-stable --version)"
echo $CHROME_VERSION
CHROME_VERSION2="$(google-chrome --version)"
echo $CHROME_VERSION2
# Download and unpack the latest release of chromedriver
# CHROMEDRIVER_URL="https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1140487%2Fchromedriver_linux64.zip?&alt=media"
# Download and unpack chromedriver.
CHROME_DRIVER_VERSION_STRING="114.0.5735.90"
CHROMEDRIVER_URL="https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION_STRING}/chromedriver_linux64.zip"
CHROMEDRIVER_ARCHIVE="chromedriver_linux64.zip"
CHROMEDRIVER_DIR="/usr/local/share/chromedriver-linux64"
CHROMEDRIVER_BIN="$CHROMEDRIVER_DIR/chromedriver"
sudo rm -rf $CHROMEDRIVER_DIR
sudo mkdir $CHROMEDRIVER_DIR
echo "Installing chromedriver version"
wget --no-verbose -O /tmp/$CHROMEDRIVER_ARCHIVE $CHROMEDRIVER_URL
sudo unzip -qq /tmp/$CHROMEDRIVER_ARCHIVE -d $CHROMEDRIVER_DIR
ls -la $CHROMEDRIVER_DIR
sudo chmod +x $CHROMEDRIVER_BIN
sudo ln -sf "$CHROMEDRIVER_BIN" /usr/bin/
sudo echo "CHROMEWEBDRIVER=$CHROMEDRIVER_DIR" | sudo tee -a /etc/environment
Expand Down

0 comments on commit fe39912

Please sign in to comment.