selenium-webdriver 4.0.0-alpha.5 → 4.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGES.md +35 -1
- package/LICENSE +1 -1
- package/NOTICE +1 -1
- package/README.md +4 -4
- package/chrome.js +72 -592
- package/chromium.js +829 -0
- package/devtools/CDPConnection.js +37 -0
- package/edge.js +124 -86
- package/example/chrome_android.js +16 -13
- package/example/chrome_mobile_emulation.js +18 -14
- package/example/firefox_channels.js +35 -28
- package/example/google_search.js +9 -9
- package/example/google_search_test.js +20 -22
- package/example/headless.js +27 -19
- package/example/logging.js +34 -38
- package/firefox.js +200 -200
- package/http/index.js +131 -115
- package/http/util.js +56 -64
- package/ie.js +180 -104
- package/index.js +246 -199
- package/io/exec.js +34 -39
- package/io/index.js +142 -152
- package/io/zip.js +75 -65
- package/lib/actions.js +140 -122
- package/lib/atoms/find-elements.js +124 -0
- package/lib/atoms/get-attribute.js +79 -59
- package/lib/atoms/is-displayed.js +72 -73
- package/lib/atoms/mutation-listener.js +38 -0
- package/lib/by.js +192 -65
- package/lib/capabilities.js +82 -78
- package/lib/command.js +20 -20
- package/lib/error.js +134 -168
- package/lib/http.js +337 -230
- package/lib/input.js +325 -302
- package/lib/logging.js +127 -138
- package/lib/promise.js +60 -66
- package/lib/proxy.js +31 -41
- package/lib/session.js +12 -15
- package/lib/symbols.js +3 -4
- package/lib/until.js +162 -160
- package/lib/webdriver.js +1024 -541
- package/net/index.js +30 -36
- package/net/portprober.js +31 -144
- package/opera.js +406 -0
- package/package.json +19 -12
- package/proxy.js +2 -2
- package/remote/index.js +190 -187
- package/safari.js +40 -49
- package/testing/index.js +166 -155
package/CHANGES.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
## v4.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
* JS Binding support for WebDriver Bidi in Firefox
|
|
4
|
+
- This requires Firefox 87 and Geckodriver 0.29 to be able to work
|
|
5
|
+
* Update the supported CDP versions
|
|
6
|
+
* Update tmp package version (#9155)
|
|
7
|
+
* Adding support for /computedlabel (getAccessibleName) (#9073)
|
|
8
|
+
* Adding support for computedrole (#8990)
|
|
9
|
+
* Use subfolder for NPM package homepage (#8938)
|
|
10
|
+
* Fix typo: tracingCategories -> traceCategories (#8976)
|
|
11
|
+
* Package up mutation-listener for node. Fixes #8955
|
|
12
|
+
* Adding support for `print` endpoint (#8880)
|
|
13
|
+
|
|
14
|
+
## v4.0.0-alpha.8
|
|
15
|
+
|
|
16
|
+
* Rolling back native support for Opera Browser
|
|
17
|
+
* Added new ieOptions capabilities:
|
|
18
|
+
- fileUploadDialogTimeout
|
|
19
|
+
- setEdgePath
|
|
20
|
+
- setEdgeChromium
|
|
21
|
+
- setScrollBehavior
|
|
22
|
+
- For consistent naming, deprecating `addArguments(...args)` in favor of `addBrowserCommandSwitches(...args)`
|
|
23
|
+
|
|
24
|
+
* Added relative locators
|
|
25
|
+
* Added Chrome DevTools Protocol (CDP) support
|
|
26
|
+
* Added support for BASIC authentication.
|
|
27
|
+
* Added listener for DOM mutations.
|
|
28
|
+
* Added support for listening out for console log events.
|
|
29
|
+
* Added support listening js exceptions using CDP
|
|
30
|
+
|
|
31
|
+
### API Changes
|
|
32
|
+
|
|
33
|
+
* Added the 'opera' module
|
|
34
|
+
|
|
1
35
|
## v4.0.0-alpha.4
|
|
2
36
|
|
|
3
37
|
### Changes
|
|
@@ -725,7 +759,7 @@ continue to be supported, but will require setting the `--harmony` flag.
|
|
|
725
759
|
due to a previously uncaught error within the frame.
|
|
726
760
|
* FIXED: 8496: Extended the `chrome.Options` API to cover all configuration
|
|
727
761
|
options (e.g. mobile emulation and performance logging) documented on the
|
|
728
|
-
ChromeDriver [project site](https://
|
|
762
|
+
ChromeDriver [project site](https://chromedriver.chromium.org/capabilities).
|
|
729
763
|
|
|
730
764
|
## v2.45.0
|
|
731
765
|
|
package/LICENSE
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
same "printed page" as the copyright notice for easier
|
|
188
188
|
identification within third-party archives.
|
|
189
189
|
|
|
190
|
-
Copyright
|
|
190
|
+
Copyright 2021 Software Freedom Conservancy (SFC)
|
|
191
191
|
|
|
192
192
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
193
|
you may not use this file except in compliance with the License.
|
package/NOTICE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Copyright 2011-
|
|
1
|
+
Copyright 2011-2021 Software Freedom Conservancy
|
|
2
2
|
Copyright 2004-2011 Selenium committers
|
package/README.md
CHANGED
|
@@ -24,6 +24,7 @@ Safari 10 before testing.
|
|
|
24
24
|
| Internet Explorer | [IEDriverServer.exe][release] |
|
|
25
25
|
| Edge | [MicrosoftWebDriver.msi][edge] |
|
|
26
26
|
| Firefox | [geckodriver(.exe)][geckodriver] |
|
|
27
|
+
| Opera | [operadriver(.exe)][operadriver] |
|
|
27
28
|
| Safari | [safaridriver] |
|
|
28
29
|
|
|
29
30
|
## Usage
|
|
@@ -117,13 +118,12 @@ Additional resources include
|
|
|
117
118
|
|
|
118
119
|
- the #selenium channel on freenode IRC
|
|
119
120
|
- the [selenium-users@googlegroups.com][users] list
|
|
120
|
-
- [SeleniumHQ](
|
|
121
|
+
- [SeleniumHQ](https://selenium.dev/documentation/) documentation
|
|
121
122
|
|
|
122
123
|
## Contributing
|
|
123
124
|
|
|
124
125
|
Contributions are accepted either through [GitHub][gh] pull requests or patches
|
|
125
|
-
via the [Selenium issue tracker][issues].
|
|
126
|
-
[Contributor License Agreement][cla] before your changes will be accepted.
|
|
126
|
+
via the [Selenium issue tracker][issues].
|
|
127
127
|
|
|
128
128
|
## Node Support Policy
|
|
129
129
|
|
|
@@ -217,7 +217,6 @@ under the License.
|
|
|
217
217
|
[LTS]: https://github.com/nodejs/LTS
|
|
218
218
|
[PATH]: http://en.wikipedia.org/wiki/PATH_%28variable%29
|
|
219
219
|
[api]: http://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/
|
|
220
|
-
[cla]: http://goo.gl/qC50R
|
|
221
220
|
[chrome]: http://chromedriver.storage.googleapis.com/index.html
|
|
222
221
|
[gh]: https://github.com/SeleniumHQ/selenium/
|
|
223
222
|
[issues]: https://github.com/SeleniumHQ/selenium/issues
|
|
@@ -227,3 +226,4 @@ under the License.
|
|
|
227
226
|
[release]: http://selenium-release.storage.googleapis.com/index.html
|
|
228
227
|
[users]: https://groups.google.com/forum/#!forum/selenium-users
|
|
229
228
|
[safaridriver]: https://developer.apple.com/library/prerelease/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_10_0.html#//apple_ref/doc/uid/TP40014305-CH11-DontLinkElementID_28
|
|
229
|
+
[operadriver]: https://github.com/operasoftware/operachromiumdriver/releases
|