Last active
June 1, 2023 17:54
-
-
Save madan-wego/0b47f1dd6b621f43636cfcd432f86546 to your computer and use it in GitHub Desktop.
This file contains 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
BROWSER_MAJOR=$(google-chrome --version | sed 's/Google Chrome \([0-9]*\).*/\1/g') \ | |
&& wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${BROWSER_MAJOR} -O chromedriver_version \ | |
&& wget -q https://chromedriver.storage.googleapis.com/`cat chromedriver_version`/chromedriver_linux64.zip \ | |
&& unzip chromedriver_linux64.zip \ | |
&& rm chromedriver_linux64.zip \ | |
&& mv chromedriver /usr/local/bin \ | |
&& chmod +x /usr/local/bin/chromedriver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment