diff --git a/scripts/prepareTestEnv.sh b/scripts/prepareTestEnv.sh index c6d804f5a..c135dd188 100644 --- a/scripts/prepareTestEnv.sh +++ b/scripts/prepareTestEnv.sh @@ -2,8 +2,12 @@ wget -N http://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip -P ~/ unzip ~/chromedriver_linux64.zip -d ~/ rm ~/chromedriver_linux64.zip +sudo chmod -R u=rwx,g=rwx /usr/bin/google-chrome-stable +sudo chmod -R u=rwx,g=rwx /usr/bin/X11/google-chrome-stable + sudo mv -f ~/chromedriver /usr/local/share/ -sudo chmod +x /usr/local/share/chromedriver +sudo chmod u=rwx,g=rwx /usr/local/share/chromedriver + sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver whereis google-chrome-stable