Created
August 13, 2012 12:34
-
-
Save kucaahbe/3340236 to your computer and use it in GitHub Desktop.
chromedriver download and install script
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
#!/bin/sh | |
uname -m | grep 86 && ARCH=32 | |
uname -m | grep 64 && ARCH=64 | |
VERSION='21.0.1180.4' | |
URL="http://chromedriver.googlecode.com/files/chromedriver_linux${ARCH}_${VERSION}.zip" | |
mkdir -p $HOME/bin | |
ZIP_ARCH=$HOME/bin/chromedriver-$ARCH-$VERSION.zip | |
wget $URL -O $ZIP_ARCH | |
unzip -o $ZIP_ARCH -d $HOME/bin | |
echo | |
echo !!! do not forget to add \$HOME/bin to your \$PATH !!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment