mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-21 23:51:29 +01:00
Update prepareTestEnv.sh
Added permissions for the chrome folders in an attempt to fix org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally
This commit is contained in:
parent
0d587f527e
commit
94e62cb63c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user