Created
May 8, 2012 16:08
-
-
Save mikesmullin/2636776 to your computer and use it in GitHub Desktop.
easily install chromedriver on linux/osx
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
sudo apt-get install unzip; | |
wget -O /tmp/chromedriver.zip http://chromedriver.googlecode.com/files/chromedriver_linux64_19.0.1068.0.zip && sudo unzip /tmp/chromedriver.zip chromedriver -d /usr/local/bin/; |
I think this should install the latest release:
sudo apt-get install unzip && a=$(uname -m) && rm -r /tmp/chromedriver/ mkdir /tmp/chromedriver/ && wget -O /tmp/chromedriver/LATEST_RELEASE http://chromedriver.storage.googleapis.com/LATEST_RELEASE && if [ $a == i686 ]; then b=32; elif [ $a == x86_64 ]; then b=64; fi && latest=$(cat /tmp/chromedriver/LATEST_RELEASE) && wget -O /tmp/chromedriver/chromedriver.zip 'http://chromedriver.storage.googleapis.com/'$latest'/chromedriver_linux'$b'.zip' && sudo unzip /tmp/chromedriver/chromedriver.zip chromedriver -d /usr/local/bin/ && echo 'success?'
This is great code. Thanks @lucasea777
I dont understand i currently run Parrot OS and all i get is errors.
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.10.267518,platform=Linux 4.4.0-19041-Microsoft x86_64)
How to solve this problem??
Please someone tell me.....
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks