driver
.context(‘NATIVE_APP’)
.swipe({180,600,180,300})
for example does not work on ios 8.1 simulator
but it works for horizontal swipe,
it also works if it is on ios9.1simulator.
Any idea? bug?
wreed
April 6, 2016, 11:13pm
2
Take a look at this & see if it doesn’t help:
## Automating mobile gestures
While the Selenium WebDriver spec has support for certain kinds of mobile
interaction, its parameters are not always easily mappable to the functionality
that the underlying device automation (like UIAutomation in the case of iOS)
provides. To that end, Appium implements the new TouchAction / MultiAction API
defined in the newest version of the spec
([https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#multiactions-1](https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#multiactions-1)).
Note that this is different from the earlier version of the TouchAction API in
the original JSON Wire Protocol.
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).
This file has been truncated. show original