Last active
February 16, 2022 02:12
-
-
Save DrumRobot/721e13a5199f33d0917131b818510911 to your computer and use it in GitHub Desktop.
Update chromedriver for Ubuntu google-chrome-stable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TempFile=$(mktemp) | |
| Version=$(dpkg -s google-chrome-stable | grep '^Version' | grep -o -E '[0-9.]+' | grep -m1 '.') | |
| echo ${TempFile} | |
| wget -O ${TempFile} https://chromedriver.storage.googleapis.com/${Version}/chromedriver_linux64.zip | |
| unzip -u ${TempFile} -d ~/bin | |
| rm ${TempFile} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment