Created
July 30, 2020 17:36
-
-
Save cadreoneseven/8ba72f007682741609e225abb8a79858 to your computer and use it in GitHub Desktop.
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
# update system packages | |
apt-get update | |
apt-get upgrade | |
# install ruby and make | |
apt-get install ruby1.9.3 make -y | |
# install xvfb | |
apt-get install xvfb -y | |
# install ruby gems | |
gem install headless | |
gem install selenium-webdriver | |
# install chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
apt-get update | |
apt-get install google-chrome-stable | |
# install chrome driver | |
wget http://chromedriver.googlecode.com/files/chromedriver_linux64_23.0.1240.0.zip | |
apt-get install unzip | |
unzip chromedriver_linux64_23.0.1240.0.zip | |
cp chromedriver /usr/local/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment