Created
April 27, 2018 14:16
-
-
Save rafpyprog/0d6e774044e1cb2a2a6f8d9bbd03b9c7 to your computer and use it in GitHub Desktop.
Script for Geckdriver installation
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 | |
GECKODRIVER_VERSION='v0.20.1' | |
wget -O /usr/bin/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz | |
cd /usr/bin/ && tar -xzvf /usr/bin/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz | |
rm /usr/bin/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz | |
chmod +x /usr/bin/geckodriver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment