@@ -18,7 +18,7 @@ following path – /usr/bin/safaridriver. To enable automation on safari,
18
18
you need to run command ` safaridriver --enable ` .
19
19
20
20
| Browser | Component |
21
- | :------------------ | :--------------------------------- |
21
+ | :---------------- | :------------------------------- |
22
22
| Chrome | [ chromedriver(.exe)] [ chrome ] |
23
23
| Internet Explorer | [ IEDriverServer.exe] [ release ] |
24
24
| Edge | [ MicrosoftWebDriver.msi] [ edge ] |
@@ -34,15 +34,15 @@ also find the tests for selenium-webdriver informative.
34
34
``` javascript
35
35
const { Builder , Browser , By , Key , until } = require (' selenium-webdriver' )
36
36
37
- ;(async function example () {
38
- let driver = await new Builder ().forBrowser (Browser .FIREFOX ).build ()
39
- try {
40
- await driver .get (' https://www.google.com/ncr' )
41
- await driver .findElement (By .name (' q' )).sendKeys (' webdriver' , Key .RETURN )
42
- await driver .wait (until .titleIs (' webdriver - Google Search' ), 1000 )
43
- } finally {
44
- await driver .quit ()
45
- }
37
+ ;(async function example () {
38
+ let driver = await new Builder ().forBrowser (Browser .FIREFOX ).build ()
39
+ try {
40
+ await driver .get (' https://www.google.com/ncr' )
41
+ await driver .findElement (By .name (' q' )).sendKeys (' webdriver' , Key .RETURN )
42
+ await driver .wait (until .titleIs (' webdriver - Google Search' ), 1000 )
43
+ } finally {
44
+ await driver .quit ()
45
+ }
46
46
})()
47
47
```
48
48
@@ -59,10 +59,10 @@ const chrome = require('selenium-webdriver/chrome')
59
59
const firefox = require (' selenium-webdriver/firefox' )
60
60
61
61
let driver = new webdriver.Builder ()
62
- .forBrowser (webdriver .Browser .FIREFOX )
63
- .setChromeOptions (/* ... */ )
64
- .setFirefoxOptions (/* ... */ )
65
- .build ()
62
+ .forBrowser (webdriver .Browser .FIREFOX )
63
+ .setChromeOptions (/* ... */ )
64
+ .setFirefoxOptions (/* ... */ )
65
+ .build ()
66
66
```
67
67
68
68
Why would you want to configure options irrelevant to the target browser? The
98
98
99
99
``` javascript
100
100
let driver = new webdriver.Builder ()
101
- .forBrowser (webdriver .Browser .FIREFOX )
102
- .usingServer (' http://localhost:4444/wd/hub' )
103
- .build ()
101
+ .forBrowser (webdriver .Browser .FIREFOX )
102
+ .usingServer (' http://localhost:4444/wd/hub' )
103
+ .build ()
104
104
```
105
105
106
106
Or change the Builder's configuration at runtime with the ` SELENIUM_REMOTE_URL `
@@ -140,7 +140,7 @@ v18.8.0,
140
140
respectively. Then a Selenium release would have the following support levels:
141
141
142
142
| Version | Support |
143
- | :---------: | :-------------: |
143
+ | :-------: | :-----------: |
144
144
| <= 14.19 | _ unsupported_ |
145
145
| 14.20.0 | supported |
146
146
| 18.0-7 | best effort |
@@ -167,7 +167,7 @@ If Node releases a new [LTS] each October and a new major version every 6
167
167
months, the support window for selenium-webdriver will be roughly:
168
168
169
169
| Release | Status | END-OF-LIFE |
170
- | :-------: | :---------------: | :-----------: |
170
+ | :-----: | :-------------: | :---------: |
171
171
| v14.x | Maintenance LTS | 2023-04-30 |
172
172
| v16.x | Active LTS | 2023-09-11 |
173
173
| v18.x | Current | 2025-04-30 |
@@ -216,27 +216,15 @@ specific language governing permissions and limitations
216
216
under the License.
217
217
218
218
[ LTS ] : https://github.com/nodejs/LTS
219
-
220
219
[ PATH ] : http://en.wikipedia.org/wiki/PATH_%28variable%29
221
-
222
220
[ api ] : http://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/
223
-
224
221
[ chrome ] : https://googlechromelabs.github.io/chrome-for-testing/#stable
225
-
226
222
[ gh ] : https://github.com/SeleniumHQ/selenium/
227
-
228
223
[ issues ] : https://github.com/SeleniumHQ/selenium/issues
229
-
230
224
[ edge ] : http://go.microsoft.com/fwlink/?LinkId=619687
231
-
232
225
[ geckodriver ] : https://github.com/mozilla/geckodriver/releases/
233
-
234
226
[ reduction ] : http://www.webkit.org/quality/reduction.html
235
-
236
227
[ release ] : https://www.selenium.dev/downloads/
237
-
238
228
[ users ] : https://groups.google.com/forum/#!forum/selenium-users
239
-
240
229
[ safaridriver ] : https://developer.apple.com/library/prerelease/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_10_0.html#//apple_ref/doc/uid/TP40014305-CH11-DontLinkElementID_28
241
-
242
230
[ operadriver ] : https://github.com/operasoftware/operachromiumdriver/releases
0 commit comments