Skip to content

Commit 1022e94

Browse files
Reorganize the docs about setup
Reorganizing the docs about setup. First step of what I suggested at #30 (comment)
1 parent 0aae617 commit 1022e94

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/Codeception/Module/WebDriver.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,24 @@
4949
use Facebook\WebDriver\WebDriverSelect;
5050

5151
/**
52-
* New generation Selenium WebDriver module.
52+
* Run tests in real browsers using the W3C [WebDriver protocol](https://www.w3.org/TR/webdriver/).
5353
*
5454
* ## Local Testing
5555
*
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+
*
5663
* ### Selenium
5764
*
5865
* To run Selenium Server you need [Java](https://www.java.com/) as well as Chrome or Firefox browser installed.
5966
*
6067
* 1. Download [Selenium Standalone Server](http://docs.seleniumhq.org/download/)
61-
* 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`:
6470
*
6571
* ```yaml
6672
* modules:

0 commit comments

Comments
 (0)