|
|
|
@ -1,8 +1,8 @@ |
|
|
|
|
export DISPLAY=:99.0 |
|
|
|
|
sh -e /etc/init.d/xvfb start |
|
|
|
|
# export CHROMEDRIVER_VERSION=`curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE` |
|
|
|
|
export CHROMEDRIVER_VERSION=`104.0.5112.79` |
|
|
|
|
curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip" |
|
|
|
|
|
|
|
|
|
export CHROMEDRIVER_VERSION=$(curl -s "https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json" | jq -r '.channels' | jq -r '.Stable' | jq -r '.version') |
|
|
|
|
curl -L -O "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/${CHROMEDRIVER_VERSION}/linux64/chrome-linux64.zip" |
|
|
|
|
unzip chromedriver_linux64.zip |
|
|
|
|
sudo chmod +x chromedriver |
|
|
|
|
sudo mv chromedriver /usr/local/bin |
|
|
|
|