|
108 | 108 | * |
109 | 109 | * By default, this test runs with HtmlUnit, but this behavior can be changed by having a property file named |
110 | 110 | * "{@code test.properties}" in the HtmlUnit root directory. |
111 | | - * Sample: |
| 111 | + * Sample (remove the part not matching your os): |
112 | 112 | * <pre> |
113 | | - browsers=hu,ff,ie |
114 | | - chrome.bin=/path/to/chromedriver [Unix-like] |
115 | | - ff-esr.bin=/usr/bin/firefox [Unix-like] |
116 | | - ie.bin=C:\\path\\to\\32bit\\IEDriverServer.exe [Windows] |
117 | | - edge.bin=C:\\path\\to\\msedgedriver.exe [Windows] |
118 | | - autofix=true |
| 113 | + browsers=hu,ff,chrome |
| 114 | +
|
| 115 | + ff.bin=/usr/bin/firefox [Unix] |
| 116 | + ff-esr.bin=/usr/bin/firefox-esr [Unix] |
| 117 | + geckodriver.bin=/usr/bin/driver/geckodriver [Unix] |
| 118 | + chrome.bin=/path/to/chromedriver [Unix] |
| 119 | + edge.bin=/path/to/chromedriver [Unix] |
| 120 | +
|
| 121 | + geckodriver.bin=C:\\path\\to\\geckodriver.exe [Windows] |
| 122 | + ff.bin=C:\\path\\to\\Mozilla Firefox\\firefox.exe [Windows] |
| 123 | + ff-esr.bin=C:\\path\\to\\Mozilla Firefox ESR\\firefox.exe [Windows] |
| 124 | + chrome.bin=C:\\path\\to\\chromedriver.exe [Windows] |
| 125 | + edge.bin=C:\\path\\to\\msedgedriver.exe [Windows] |
| 126 | +
|
| 127 | + autofix=false |
119 | 128 | </pre> |
| 129 | +
|
120 | 130 | * The file could contain some properties: |
121 | 131 | * <ul> |
122 | | - * <li>browsers: is a comma separated list contains any combination of "hu" (for HtmlUnit with all browser versions), |
123 | | - * "hu-ff", "hu-ff-esr", "ff", "chrome", which will be used to drive real browsers</li> |
| 132 | + * <li>browsers: is a comma separated list contains any combination of |
| 133 | + * <ul> |
| 134 | + * <li>hu (for HtmlUnit with all browser versions),</li> |
| 135 | + * <li>hu-ff,</li> |
| 136 | + * <li>hu-ff-esr,</li> |
| 137 | + * <li>hu-chrome,</li> |
| 138 | + * <li>hu-edge,</li> |
| 139 | + * <li>ff, (running test using real Firefox),</li> |
| 140 | + * <li>ff-esr, (running test using real Firefox ESR),</li> |
| 141 | + * <li>chrome (running test using real Chrome),</li> |
| 142 | + * <li>edge (running test using real Edge),</li> |
| 143 | + * </ul> |
| 144 | + * </li> |
124 | 145 | * |
125 | 146 | * <li>chrome.bin (mandatory if it does not exist in the <i>path</i>): is the location of the ChromeDriver binary (see |
126 | | - * <a href="http://chromedriver.storage.googleapis.com/index.html">Chrome Driver downloads</a>)</li> |
| 147 | + * <a href="https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json">Chrome Driver downloads</a>)</li> |
127 | 148 | * <li>geckodriver.bin (mandatory if it does not exist in the <i>path</i>): is the location of the GeckoDriver binary |
128 | | - * (see <a href="https://firefox-source-docs.mozilla.org/testing/geckodriver/Usage.html">Gecko Driver Usage</a>)</li> |
| 149 | + * (see <a href="https://github.com/mozilla/geckodriver/releases">Gecko Driver Releases</a>)</li> |
129 | 150 | * <li>ff.bin (optional): is the location of the FF binary, in Windows use double back-slashes</li> |
130 | 151 | * <li>ff-esr.bin (optional): is the location of the FF binary, in Windows use double back-slashes</li> |
131 | | - * <li>ie.bin (mandatory if it does not exist in the <i>path</i>): is the location of the IEDriverServer binary (see |
132 | | - * <a href="http://selenium-release.storage.googleapis.com/index.html">IEDriverServer downloads</a>)</li> |
133 | 152 | * <li>edge.bin (mandatory if it does not exist in the <i>path</i>): is the location of the MicrosoftWebDriver binary |
134 | | - * (see <a href="http://go.microsoft.com/fwlink/?LinkId=619687">MicrosoftWebDriver downloads</a>)</li> |
| 153 | + * (see <a href="https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/">Microsoft Edge WebDriver downloads</a>)</li> |
135 | 154 | * <li>autofix (optional): if {@code true}, try to automatically fix the real browser expectations, |
136 | 155 | * or add/remove {@code @NotYetImplemented} annotations, use with caution!</li> |
137 | 156 | * </ul> |
|
0 commit comments