select version

pull/4069/head
filip mertens 1 year ago
parent f73387f23b
commit 026cf01e3e
  1. 1
      .circleci/config.yml

@ -377,6 +377,7 @@ commands:
name: install-chromedriver-custom-linux
command: |
CHROMEDRIVER_URL=$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json' | jq '.channels.Stable.downloads.chromedriver[] | select(.platform == "linux64") | .url' | tr -d '"')
CHROMEDRIVER_URL=$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json' | jq '.versions[] | select(.version | startswith("116")) | .downloads.chrome[] | select(.platform == "linux64") | .url' | tail -n1 | tr -d '"')
echo $CHROMEDRIVER_URL
ZIPFILEPATH="/tmp/chromedriver.zip"
echo "Downloading from $CHROMEDRIVER_URL"

Loading…
Cancel
Save