@@ -18,7 +18,7 @@ following path – /usr/bin/safaridriver. To enable automation on safari,
1818you need to run command ` safaridriver --enable ` .
1919
2020| Browser | Component |
21- | :------------------ | :--------------------------------- |
21+ | :---------------- | :------------------------------- |
2222| Chrome | [ chromedriver(.exe)] [ chrome ] |
2323| Internet Explorer | [ IEDriverServer.exe] [ release ] |
2424| Edge | [ MicrosoftWebDriver.msi] [ edge ] |
@@ -34,15 +34,15 @@ also find the tests for selenium-webdriver informative.
3434``` javascript
3535const { Builder , Browser , By , Key , until } = require (' selenium-webdriver' )
3636
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+ }
4646})()
4747```
4848
@@ -59,10 +59,10 @@ const chrome = require('selenium-webdriver/chrome')
5959const firefox = require (' selenium-webdriver/firefox' )
6060
6161let 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 ()
6666```
6767
6868Why would you want to configure options irrelevant to the target browser? The
9898
9999``` javascript
100100let 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 ()
104104```
105105
106106Or change the Builder's configuration at runtime with the ` SELENIUM_REMOTE_URL `
@@ -140,7 +140,7 @@ v18.8.0,
140140respectively. Then a Selenium release would have the following support levels:
141141
142142| Version | Support |
143- | :---------: | :-------------: |
143+ | :-------: | :-----------: |
144144| <= 14.19 | _ unsupported_ |
145145| 14.20.0 | supported |
146146| 18.0-7 | best effort |
@@ -167,7 +167,7 @@ If Node releases a new [LTS] each October and a new major version every 6
167167months, the support window for selenium-webdriver will be roughly:
168168
169169| Release | Status | END-OF-LIFE |
170- | :-------: | :---------------: | :-----------: |
170+ | :-----: | :-------------: | :---------: |
171171| v14.x | Maintenance LTS | 2023-04-30 |
172172| v16.x | Active LTS | 2023-09-11 |
173173| v18.x | Current | 2025-04-30 |
@@ -216,27 +216,15 @@ specific language governing permissions and limitations
216216under the License.
217217
218218[ LTS ] : https://github.com/nodejs/LTS
219-
220219[ PATH ] : http://en.wikipedia.org/wiki/PATH_%28variable%29
221-
222220[ api ] : http://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/
223-
224221[ chrome ] : https://googlechromelabs.github.io/chrome-for-testing/#stable
225-
226222[ gh ] : https://github.com/SeleniumHQ/selenium/
227-
228223[ issues ] : https://github.com/SeleniumHQ/selenium/issues
229-
230224[ edge ] : http://go.microsoft.com/fwlink/?LinkId=619687
231-
232225[ geckodriver ] : https://github.com/mozilla/geckodriver/releases/
233-
234226[ reduction ] : http://www.webkit.org/quality/reduction.html
235-
236227[ release ] : https://www.selenium.dev/downloads/
237-
238228[ users ] : https://groups.google.com/forum/#!forum/selenium-users
239-
240229[ 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-
242230[ operadriver ] : https://github.com/operasoftware/operachromiumdriver/releases
0 commit comments