MCPcopy
hub / github.com/codeceptjs/CodeceptJS / makeTouchAction

Method makeTouchAction

lib/helper/Appium.js:1070–1078  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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.

Callers 2

AppiumTs.types.tsFile · 0.80
Appium.types.tsFile · 0.80

Calls 1

$Method · 0.80

Tested by

no test coverage detected