Merge pull request #2126 from rachel-fenichel/update_selenium

Update selenium version
This commit is contained in:
Rachel Fenichel
2018-11-19 15:20:39 -08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
DIR="../webdriverio-test"
FILE=selenium-server-standalone-3.0.1.jar
FILE=selenium-server-standalone-3.9.1.jar
if [ ! -d $DIR ]; then
mkdir $DIR
@@ -9,6 +9,6 @@ fi
echo "downloading selenium jar"
if [ ! -f $DIR/$FILE ]; then
cd $DIR && curl -O http://selenium-release.storage.googleapis.com/3.0/selenium-server-standalone-3.0.1.jar
cd $DIR && curl -O http://selenium-release.storage.googleapis.com/3.9/selenium-server-standalone-3.9.1.jar
sleep 5
fi

View File

@@ -4,7 +4,7 @@
pid=`lsof -ti tcp:4444`
if [ $? -eq 0 ]
then
kill -9 $pid
kill -9 $pid
fi
java -jar -Dwebdriver.gecko.driver=../geckodriver -Dwebdriver.chrome.driver="chromedriver/chromedriver" ../webdriverio-test/selenium-server-standalone-3.0.1.jar &
java -jar -Dwebdriver.gecko.driver=../geckodriver -Dwebdriver.chrome.driver="chromedriver/chromedriver" ../webdriverio-test/selenium-server-standalone-3.9.1.jar &