You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Codeception/Module/WebDriver.php
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -49,18 +49,24 @@
49
49
useFacebook\WebDriver\WebDriverSelect;
50
50
51
51
/**
52
-
* New generation Selenium WebDriver module.
52
+
* Run tests in real browsers using the W3C [WebDriver protocol](https://www.w3.org/TR/webdriver/).
53
53
*
54
54
* ## Local Testing
55
55
*
56
+
* ### Browsers: Chrome and/or Firefox
57
+
*
58
+
* First, you need to install the browser itself: Chrome and/or Firefox.
59
+
* * To run tests in Chrome/Chromium, you need to install [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/getting-started).
60
+
* * To use Firefox, install [GeckoDriver](https://github.com/mozilla/geckodriver).
61
+
* If you want to use both, consider setting up a dedicated [Codeception environment](https://codeception.com/docs/07-AdvancedUsage#Environments) for each.
62
+
*
56
63
* ### Selenium
57
64
*
58
65
* To run Selenium Server you need [Java](https://www.java.com/) as well as Chrome or Firefox browser installed.
* 2. To use Chrome, install [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/getting-started). To use Firefox, install [GeckoDriver](https://github.com/mozilla/geckodriver).
62
-
* 3. Launch the Selenium Server: `java -jar selenium-server-standalone-3.xx.xxx.jar`. To locate Chromedriver binary use `-Dwebdriver.chrome.driver=./chromedriver` option. For Geckodriver use `-Dwebdriver.gecko.driver=./geckodriver`.
63
-
* 4. Configure this module (in `acceptance.suite.yml`) by setting `url` and `browser`:
68
+
* 2. Launch the Selenium Server: `java -jar selenium-server-standalone-3.xx.xxx.jar`. To locate Chromedriver binary use `-Dwebdriver.chrome.driver=./chromedriver` option. For Geckodriver use `-Dwebdriver.gecko.driver=./geckodriver`.
69
+
* 3. Configure this module (in `acceptance.suite.yml`) by setting `url` and `browser`:
0 commit comments