Created
April 8, 2019 11:32
-
-
Save devisnotnull/cbf8290ee8c7775173b187dfe7b317d6 to your computer and use it in GitHub Desktop.
REHL/CentOS install chrome driver binary
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/sh | |
yum update -y | |
yum install -y wget unzip openjdk-8-jre-headless xvfb libxi6 libgconf-2-4 | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm | |
yum install -y ./google-chrome-stable_current_*.rpm | |
curl https://chromedriver.storage.googleapis.com/73.0.3683.20/chromedriver_linux64.zip > ~/chromedriver.zip | |
unzip -o ~/chromedriver.zip -d /usr/local/bin/chromedriver | |
rm ~/chromedriver.zip | |
chown root:root /usr/local/bin/chromedriver | |
chmod 0755 /usr/local/bin/chromedriver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment