Skip to content

Commit a1784b2

Browse files
committed
Update Selenium to 3.8.1 and Chromedriver to 2.38
1 parent bd8c740 commit a1784b2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
global:
1313
- DISPLAY=:99.0
1414
- BROWSER_NAME="htmlunit"
15-
- CHROMEDRIVER_VERSION="2.35"
15+
- CHROMEDRIVER_VERSION="2.38"
1616

1717
matrix:
1818
include:
@@ -93,8 +93,8 @@ before_script:
9393
- if [ "$BROWSER_NAME" = "chrome" ]; then mkdir chromedriver; wget -q -t 3 https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip; unzip chromedriver_linux64 -d chromedriver; fi
9494
- if [ "$BROWSER_NAME" = "chrome" ]; then export CHROMEDRIVER_PATH=$PWD/chromedriver/chromedriver; fi
9595
- sh -e /etc/init.d/xvfb start
96-
- if [ ! -f jar/selenium-server-standalone-3.4.0.jar ]; then wget -q -t 3 -P jar https://selenium-release.storage.googleapis.com/3.4/selenium-server-standalone-3.4.0.jar; fi
97-
- java -Dwebdriver.firefox.marionette=false -Dwebdriver.chrome.driver="$CHROMEDRIVER_PATH" -jar jar/selenium-server-standalone-3.4.0.jar -log ./logs/selenium.log &
96+
- if [ ! -f jar/selenium-server-standalone-3.8.1.jar ]; then wget -q -t 3 -P jar https://selenium-release.storage.googleapis.com/3.8/selenium-server-standalone-3.8.1.jar; fi
97+
- java -Dwebdriver.firefox.marionette=false -Dwebdriver.chrome.driver="$CHROMEDRIVER_PATH" -jar jar/selenium-server-standalone-3.8.1.jar -enablePassThrough false -log ./logs/selenium.log &
9898
- until $(echo | nc localhost 4444); do sleep 1; echo Waiting for Selenium server on port 4444...; done; echo "Selenium server started"
9999
- php -S 127.0.0.1:8000 -t tests/functional/web/ &>>./logs/php-server.log &
100100
- until $(echo | nc localhost 8000); do sleep 1; echo waiting for PHP server on port 8000...; done; echo "PHP server started"

tests/functional/RemoteWebDriverTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public function testShouldGetAllSessions()
8484

8585
$this->assertArrayHasKey('capabilities', $sessions[0]);
8686
$this->assertArrayHasKey('id', $sessions[0]);
87-
$this->assertArrayHasKey('class', $sessions[0]);
8887
}
8988

9089
/**

0 commit comments

Comments
 (0)