Skip to content

Instantly share code, notes, and snippets.

@supremebeing7
Created February 15, 2022 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save supremebeing7/6a08ccf8edadc4f1aa4f4606cb6c68db to your computer and use it in GitHub Desktop.
Save supremebeing7/6a08ccf8edadc4f1aa4f4606cb6c68db to your computer and use it in GitHub Desktop.
#!/bin/bash
update_chromedriver() {
local version=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`
curl -sS https://chromedriver.storage.googleapis.com/$version/chromedriver_mac64.zip > chromedriver_mac64.zip
unzip chromedriver_mac64.zip
rm chromedriver_mac64.zip
mv -f chromedriver /usr/local/bin/chromedriver
chmod +x /usr/local/bin/chromedriver
chromedriver -v
}
update_chromedriver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment