Skip to content

Commit 8123909

Browse files
committed
[js] Actions API changes
- Update documentation - Resurrect the legacy API (too difficult to accurately translate touch actions in the new API to legacy commands). The legacy API will be removed once Chrome and Edge support the new API. For #4564
1 parent 20b804b commit 8123909

File tree

8 files changed

+778
-297
lines changed

8 files changed

+778
-297
lines changed

javascript/node/selenium-webdriver/CHANGES.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,15 @@ mode.
151151

152152
* Revamped the actions API to conform with the WebDriver Spec:
153153
<https://www.w3.org/TR/webdriver/#actions>. For details, refer to the JS doc
154-
on the `lib/webdriver.ActionSequence` class. For simplicity, support for the
155-
legacy actions API has been removed.
154+
on the `lib/webdriver.ActionSequence` class.
155+
156+
As of December, 2017, only Firefox supports this new API.
157+
`ActionSequence#perform()` will attempt to translate mouse and keyboard
158+
sequences to the legacy API. Alternatively, you may continue to use the
159+
legacy API directly via the `lib/actions` module. __NOTE:__ The legacy API
160+
is considered strongly deprecated and will be removed in a minor release once
161+
Google's Chrome and Microsoft's Edge browsers support the new API.
162+
156163
* All window manipulation commands are now supported.
157164

158165

0 commit comments

Comments
 (0)