[#825] Create prepareTestEnv.sh

Script will install chromedriver
This commit is contained in:
Risto Lahtela 2018-12-25 10:58:29 +02:00 committed by GitHub
parent 3bdb85312c
commit 06cb1f9cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

10
scripts/prepareTestEnv.sh Normal file
View File

@ -0,0 +1,10 @@
# Install chromedriver
wget -N http://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip -P ~/
unzip ~/chromedriver_linux64.zip -d ~/
rm ~/chromedriver_linux64.zip
sudo mv -f ~/chromedriver /usr/local/share/
sudo chmod +x /usr/local/share/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
whereis google-chrome-stable
whereis chromedriver