Skip to content

Instantly share code, notes, and snippets.

@rafpyprog
Created April 27, 2018 14:16
Show Gist options
  • Save rafpyprog/0d6e774044e1cb2a2a6f8d9bbd03b9c7 to your computer and use it in GitHub Desktop.
Save rafpyprog/0d6e774044e1cb2a2a6f8d9bbd03b9c7 to your computer and use it in GitHub Desktop.
Script for Geckdriver installation
#!/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