@@ -13,19 +13,18 @@ Selenium may be installed via npm with
13
13
You will need to download additional components to work with each of the major
14
14
browsers. The drivers for Chrome, Firefox, and Microsoft's IE and Edge web
15
15
browsers are all standalone executables that should be placed on your system
16
- [ PATH] . Apple's safaridriver (v10 and above) can be found at the
17
- following path – /usr/bin/safaridriver. To enable automation on safari,
16
+ [ PATH] . Apple's safaridriver (v10 and above) can be found at the
17
+ following path – /usr/bin/safaridriver. To enable automation on safari,
18
18
you need to run command ` safaridriver --enable ` .
19
19
20
-
21
- | Browser | Component |
22
- | :-------------------| :------------------------------------|
23
- | Chrome | [ chromedriver(.exe)] [ chrome ] |
24
- | Internet Explorer | [ IEDriverServer.exe] [ release ] |
25
- | Edge | [ MicrosoftWebDriver.msi] [ edge ] |
26
- | Firefox | [ geckodriver(.exe)] [ geckodriver ] |
27
- | Opera | [ operadriver(.exe)] [ operadriver ] |
28
- | Safari | [ safaridriver] |
20
+ | Browser | Component |
21
+ | :------------------| :---------------------------------|
22
+ | Chrome | [ chromedriver(.exe)] [ chrome ] |
23
+ | Internet Explorer | [ IEDriverServer.exe] [ release ] |
24
+ | Edge | [ MicrosoftWebDriver.msi] [ edge ] |
25
+ | Firefox | [ geckodriver(.exe)] [ geckodriver ] |
26
+ | Opera | [ operadriver(.exe)] [ operadriver ] |
27
+ | Safari | [ safaridriver] |
29
28
30
29
## Usage
31
30
@@ -103,6 +102,7 @@ let driver = new webdriver.Builder()
103
102
.usingServer (' http://localhost:4444/wd/hub' )
104
103
.build ();
105
104
```
105
+
106
106
Or change the Builder's configuration at runtime with the ` SELENIUM_REMOTE_URL `
107
107
environment variable:
108
108
@@ -135,43 +135,44 @@ will also have "best effort" support. Releases older than the latest LTS,
135
135
_ semver-major_ releases, and all unstable release branches (e.g. "v.Next")
136
136
are considered strictly unsupported.
137
137
138
- For example, suppose the current LTS and stable releases are v14.20.0 and v18.8.0,
138
+ For example, suppose the current LTS and stable releases are v14.20.0 and
139
+ v18.8.0,
139
140
respectively. Then a Selenium release would have the following support levels:
140
141
141
- | Version | Support |
142
- | :---------- :| :-- -------------:|
143
- | <= 14.19 | _ unsupported_ |
144
- | 14.20.0 | supported |
145
- | 18.0-7 | best effort |
146
- | 18.8.0 | supported |
147
- | >= 18.8.0 | best effort |
148
- | v.Next | _ unsupported_ |
142
+ | Version | Support |
143
+ | :---------:| :-------------:|
144
+ | <= 14.19 | _ unsupported_ |
145
+ | 14.20.0 | supported |
146
+ | 18.0-7 | best effort |
147
+ | 18.8.0 | supported |
148
+ | >= 18.8.0 | best effort |
149
+ | v.Next | _ unsupported_ |
149
150
150
151
### Support Level Definitions
151
152
152
153
- _ supported:_ A selenium-webdriver release will be API compatible with the
153
- platform API, without the use of runtime flags.
154
+ platform API, without the use of runtime flags.
154
155
155
156
- _ best effort:_ Bugs will be investigated as time permits. API compatibility is
156
- only guaranteed where required by a _ supported_ release. This effectively
157
- means the adoption of new JS features, such as ES2015 modules, will depend
158
- on what is supported in Node's LTS.
157
+ only guaranteed where required by a _ supported_ release. This effectively
158
+ means the adoption of new JS features, such as ES2015 modules, will depend
159
+ on what is supported in Node's LTS.
159
160
160
161
- _ unsupported:_ Bug submissions will be closed as will-not-fix and API
161
- compatibility is not guaranteed.
162
+ compatibility is not guaranteed.
162
163
163
164
### Projected Support Schedule
164
165
165
166
If Node releases a new [ LTS] each October and a new major version every 6
166
167
months, the support window for selenium-webdriver will be roughly:
167
168
168
- | Release | Status | END-OF-LIFE |
169
- | :--------- :| :---------------- :| :- -----------:|
170
- | v14.x | Maintenance LTS | 2023-04-30 |
171
- | v16.x | Active LTS | 2023-09-11 |
172
- | v18.x | Current | 2025-04-30 |
173
- | v19.x | Pending | 2023-06-01 |
174
- | v20 | Pending | 2026-04-30 |
169
+ | Release | Status | END-OF-LIFE |
170
+ | :-------:| :---------------:| :-----------:|
171
+ | v14.x | Maintenance LTS | 2023-04-30 |
172
+ | v16.x | Active LTS | 2023-09-11 |
173
+ | v18.x | Current | 2025-04-30 |
174
+ | v19.x | Pending | 2023-06-01 |
175
+ | v20 | Pending | 2026-04-30 |
175
176
176
177
## Issues
177
178
@@ -180,52 +181,62 @@ the issue tracker
180
181
181
182
- __ Do__ include a detailed description of the problem.
182
183
- __ Do__ include a link to a [ gist] ( http://gist.github.com/ ) with any
183
- interesting stack traces/logs (you may also attach these directly to the bug
184
- report).
184
+ interesting stack traces/logs (you may also attach these directly to the bug
185
+ report).
185
186
- __ Do__ include a [ reduced test case] [ reduction ] . Reporting "unable to find
186
- element on the page" is _ not_ a valid report - there's nothing for us to
187
- look into. Expect your bug report to be closed if you do not provide enough
188
- information for us to investigate.
187
+ element on the page" is _ not_ a valid report - there's nothing for us to
188
+ look into. Expect your bug report to be closed if you do not provide enough
189
+ information for us to investigate.
189
190
- __ Do not__ use the issue tracker to submit basic help requests. All help
190
- inquiries should be directed to the [ user forum] [ users ] or #selenium IRC
191
- channel.
191
+ inquiries should be directed to the [ user forum] [ users ] or #selenium IRC
192
+ channel.
192
193
- __ Do not__ post empty "I see this too" or "Any updates?" comments. These
193
- provide no additional information and clutter the log.
194
+ provide no additional information and clutter the log.
194
195
- __ Do not__ report regressions on closed bugs as they are not actively
195
- monitored for updates (especially bugs that are >6 months old). Please open a
196
- new issue and reference the original bug in your report.
196
+ monitored for updates (especially bugs that are >6 months old). Please open a
197
+ new issue and reference the original bug in your report.
197
198
198
199
## License
199
200
200
201
Licensed to the Software Freedom Conservancy (SFC) under one
201
- or more contributor license agreements. See the NOTICE file
202
+ or more contributor license agreements. See the NOTICE file
202
203
distributed with this work for additional information
203
- regarding copyright ownership. The SFC licenses this file
204
+ regarding copyright ownership. The SFC licenses this file
204
205
to you under the Apache License, Version 2.0 (the
205
206
"License"); you may not use this file except in compliance
206
- with the License. You may obtain a copy of the License at
207
+ with the License. You may obtain a copy of the License at
207
208
208
209
http://www.apache.org/licenses/LICENSE-2.0
209
210
210
211
Unless required by applicable law or agreed to in writing,
211
212
software distributed under the License is distributed on an
212
213
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
213
- KIND, either express or implied. See the License for the
214
+ KIND, either express or implied. See the License for the
214
215
specific language governing permissions and limitations
215
216
under the License.
216
217
217
218
[ LTS ] : https://github.com/nodejs/LTS
219
+
218
220
[ PATH ] : http://en.wikipedia.org/wiki/PATH_%28variable%29
221
+
219
222
[ api ] : http://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/
223
+
220
224
[ chrome ] : http://chromedriver.storage.googleapis.com/index.html
225
+
221
226
[ gh ] : https://github.com/SeleniumHQ/selenium/
227
+
222
228
[ issues ] : https://github.com/SeleniumHQ/selenium/issues
229
+
223
230
[ edge ] : http://go.microsoft.com/fwlink/?LinkId=619687
231
+
224
232
[ geckodriver ] : https://github.com/mozilla/geckodriver/releases/
233
+
225
234
[ reduction ] : http://www.webkit.org/quality/reduction.html
226
235
227
236
[ release ] : https://www.selenium.dev/downloads/
228
237
229
238
[ users ] : https://groups.google.com/forum/#!forum/selenium-users
239
+
230
240
[ 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
+
231
242
[ operadriver ] : https://github.com/operasoftware/operachromiumdriver/releases
0 commit comments