Skip to content

Commit bd7403c

Browse files
ElisDNsamdark
authored andcommitted
Added notes about running tests with Selenium Server 3.0 [skip ci]
1 parent 0453b5a commit bd7403c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,23 @@ To execute acceptance tests do the following:
143143
144144
```
145145
java -jar ~/selenium-server-standalone-x.xx.x.jar
146+
```
147+
148+
In case of using Selenium Server 3.0 with Firefox browser since v48 or Google Chrome since v53 you must download [GeckoDriver](https://github.com/mozilla/geckodriver/releases) or [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) and launch Selenium with it:
149+
150+
```
151+
# for Firefox
152+
java -jar -Dwebdriver.gecko.driver=~/geckodriver ~/selenium-server-standalone-3.xx.x.jar
153+
154+
# for Google Chrome
155+
java -jar -Dwebdriver.chrome.driver=~/chromedriver ~/selenium-server-standalone-3.xx.x.jar
146156
```
157+
158+
As an alternative way you can use already configured Docker container with older versions of Selenium and Firefox:
159+
160+
```
161+
docker run --net=host selenium/standalone-firefox:2.53.0
162+
```
147163
148164
5. (Optional) Create `yii2_basic_tests` database and update it by applying migrations if you have them.
149165

0 commit comments

Comments
 (0)