* The Touch Action API provides the basis of all gestures that can be * automated in Appium. At its core is the ability to chain together ad hoc * individual actions, which will then be applied to an element in the * application on the device. * [See complete documentation](http://webdri
(locator, action)
| 1068 | * Appium: support Android and iOS |
| 1069 | */ |
| 1070 | async makeTouchAction(locator, action) { |
| 1071 | onlyForApps.call(this) |
| 1072 | const element = await this.browser.$(parseLocator.call(this, locator)) |
| 1073 | |
| 1074 | return this.browser.touchAction({ |
| 1075 | action, |
| 1076 | element, |
| 1077 | }) |
| 1078 | } |
| 1079 | |
| 1080 | /** |
| 1081 | * Taps on element. |
no test coverage detected