mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
Merge pull request #2126 from rachel-fenichel/update_selenium
Update selenium version
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 &
|
||||
|
||||
|
||||
Reference in New Issue
Block a user