Update chrome installation

pull/3768/head
Julio Montoya 4 years ago
parent f16066957d
commit a8a4ae762f
  1. 19
      .github/workflows/php.yml

@ -99,16 +99,19 @@ jobs:
# https://github.com/marketplace/actions/setup-chromedriver # https://github.com/marketplace/actions/setup-chromedriver
- name: Start chromedriver - name: Start chromedriver
# uses: nanasess/setup-chromedriver@master uses: nanasess/setup-chromedriver@master
# with: with:
# # Optional: do not specify to match Chrome's version # Optional: do not specify to match Chrome's version
# chromedriver-version: '88.0.4324.96' chromedriver-version: '88.0.4324.96'
run: | run: |
wget https://chromedriver.storage.googleapis.com/88.0.4324.96/chromedriver_linux64.zip --quiet && unzip chromedriver_linux64.zip export DISPLAY=:99
sudo mv chromedriver /usr/bin chromedriver --url-base=/wd/hub &
sudo chmod +x /usr/bin/chromedriver sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
chromedriver --version # wget https://chromedriver.storage.googleapis.com/88.0.4324.96/chromedriver_linux64.zip --quiet && unzip chromedriver_linux64.zip
# sudo mv chromedriver /usr/bin
# sudo chmod +x /usr/bin/chromedriver
# chromedriver --version
# - run: | # - run: |
# export DISPLAY=:99 # export DISPLAY=:99

Loading…
Cancel
Save