mirror of
https://github.com/appium/appium.git
synced 2026-10-24 17:51:56 +08:00
add W3C link in touch actions doc (#12159)
* add W3C link in touch actions doc * address partially implementation, example * fix reviews
This commit is contained in:
@@ -13,6 +13,14 @@ These APIs allow you to build up arbitrary gestures with multiple actuators.
|
||||
Please see the Appium client docs for your language in order to find examples
|
||||
of using this API.
|
||||
|
||||
**Note for W3C actions**
|
||||
|
||||
[W3C actions](https://www.w3.org/TR/webdriver1/#actions) is also available in some drivers such as XCUITest, UIA2, Espresso and Windows.
|
||||
W3C actions are implemented to the best of the limitations of the operating systems' test frameworks.
|
||||
e.g. WDA cannot handle zero wait [PR](https://github.com/appium/appium-xcuitest-driver/pull/753).
|
||||
|
||||
[API doc](http://appium.io/docs/en/commands/interactions/actions/) and API docs of each client help to understand how to call them.
|
||||
|
||||
### An Overview of the TouchAction / MultiAction API
|
||||
|
||||
### TouchAction
|
||||
@@ -179,8 +187,8 @@ $driver->executeScript("mobile: scroll", $params);
|
||||
|
||||
**Swiping**
|
||||
|
||||
This is an XCUITest driver specific method that is similar to scrolling (for reference, see
|
||||
https://developer.apple.com/reference/xctest/xcuielement).
|
||||
This is an XCUITest driver specific method that is similar to scrolling (for reference, see
|
||||
https://developer.apple.com/reference/xctest/xcuielement).
|
||||
|
||||
This method has the same API as [Scrolling](#scrolling), just replace "mobile: scroll"
|
||||
with "mobile: swipe"
|
||||
|
||||
Reference in New Issue
Block a user