-
-
Save Schwad/276785992662f236c8b4cfe23178f3c4 to your computer and use it in GitHub Desktop.
Update Chrome driver for mac os to 2.46
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
#!/bin/bash | |
# bash < <(curl -s https://gist.githubusercontent.com/fantactuka/3228898/raw/f0806a64306426ca72f16734ae7cd16c1f84bd87/update-chrome-driver.sh) | |
echo "Updating Chrome Driver" | |
sudo su | |
if [ -e /usr/bin/chromedriver ]; then | |
rm /usr/bin/chromedriver | |
echo "Removing current Chrome Driver from /usr/bin" | |
else | |
echo "Didn't find Chrome Driver at /usr/bin" | |
fi | |
curl -O https://chromedriver.storage.googleapis.com/2.46/chromedriver_mac64.zip | |
unzip chromedriver_mac64.zip -d /usr/bin | |
rm chromedriver_mac64.zip | |
chmod 777 /usr/bin/chromedriver | |
echo "Congratulations, Chrome Driver successfully updated" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment