Skip to content

Commit 7a76c82

Browse files
committed
[js] Migrate the Capabilities class to a native node module
1 parent 2e0a0bd commit 7a76c82

File tree

4 files changed

+571
-0
lines changed

4 files changed

+571
-0
lines changed

javascript/node/selenium-webdriver/CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ the selenium-webdriver package README.
1616
* Changed some `io` operations to use native promises.
1717
* Changed `webdriver.CommandExecutor#execute()` and `HttpClient` to return
1818
promises instead of using callback passing.
19+
* Changed the `webdriver.Serializable` class to an interface defined in the
20+
`lib/serializable` module.
21+
* Changed the `Capabilities` class to extend the native `Map` type; Capabilities
22+
implements Serializable to preseve existing functionality.
23+
* Changed the `Capabilities.has(key)` to only test if a capability has been set
24+
(Map semantics); to check whether the value is true, use `get(key)`.
1925
* Migrated the `webdriver.Command*` types from using the Closure Library to the
2026
new `lib/command` module.
2127
* Deprecated `executors.DeferredExecutor` in favor of

0 commit comments

Comments
 (0)