diff options
Diffstat (limited to 'node_modules/selenium-webdriver/CHANGES.md')
-rw-r--r-- | node_modules/selenium-webdriver/CHANGES.md | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/node_modules/selenium-webdriver/CHANGES.md b/node_modules/selenium-webdriver/CHANGES.md index 614f905b4..b9ac5fd22 100644 --- a/node_modules/selenium-webdriver/CHANGES.md +++ b/node_modules/selenium-webdriver/CHANGES.md @@ -1,3 +1,63 @@ +## v3.0.1 + +* More API adjustments to align with native Promises + - Deprecated `promise.fulfilled(value)`, use `promise.Promise#resolve(value)` + - Deprecated `promise.rejected(reason)`, use `promise.Promise#reject(reason)` +* When a `wait()` condition times out, the returned promise will now be + rejected with an `error.TimeoutError` instead of a generic `Error` object. +* `WebDriver#wait()` will now throw a TypeError if an invalid wait condition is + provided. +* Properly catch unhandled promise rejections with an action sequence (only + impacts when the promise manager is disabled). + + +## v3.0.0 + +* (__NOTICE__) The minimum supported version of Node is now 6.9.0 LTS +* Removed support for the SafariDriver browser extension. This has been + replaced by Apple's safaridriver, which is included wtih Safari 10 + (available on OS X El Capitan and macOS Sierra). + + To use Safari 9 or older, users will have to use an older version of Selenium. + +* geckodriver v0.11.0 or newer is now required for Firefox. +* Fixed potential reference errors in `selenium-webdriver/testing` when users + create a cycle with mocha by running with mocha's `--hook` flag. +* Fixed `WebDriver.switchTo().activeElement()` to use the correct HTTP method + for compatibility with the W3C spec. +* Update the `selenium-webdriver/firefox` module to use geckodriver's + "moz:firefoxOptions" dictionary for Firefox-specific configuration values. +* Extending the `selenium-webdriver/testing` module to support tests defined + using generator functions. +* The promise manager can be disabled by setting an enviornment variable: + `SELENIUM_PROMISE_MANAGER=0`. This is part of a larger plan to remove the + promise manager, as documented at + <https://github.com/SeleniumHQ/selenium/issues/2969> +* When communicating with a W3C-compliant remote end, use the atoms library for + the `WebElement.getAttribute()` and `WebElement.isDisplayed()` commands. This + behavior is consistent with the java, .net, python, and ruby clients. + + +### API Changes + + * Removed `safari.Options#useLegacyDriver()` + * Reduced the API on `promise.Thenable` for compatibility with native promises: + - Removed `#isPending()` + - Removed `#cancel()` + - Removed `#finally()` + * Changed all subclasses of `webdriver.WebDriver` to overload the static + function `WebDriver.createSession()` instead of doing work in the + constructor. All constructors now inherit the base class' function signature. + Users are still encouraged to use the `Builder` class instead of creating + drivers directly. + * `Builder#build()` now returns a "thenable" WebDriver instance, allowing users + to immediately schedule commands (as before), or issue them through standard + promise callbacks. This is the same pattern already employed for WebElements. + * Removed `Builder#buildAsync()` as it was redundant with the new semantics of + `build()`. + + + ## v3.0.0-beta-3 * Fixed a bug where the promise manager would silently drop callbacks after |