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

Method touchPerform

lib/helper/Appium.js:1405–1408  ·  view source on GitHub ↗

* Performs a specific touch action. * The action object need to contain the action name, x/y coordinates * * ```js * I.touchPerform([{ * action: 'press', * options: { * x: 100, * y: 200 * } * }, {action: 'release'}]) * * I.touchPerform([{

(actions)

Source from the content-addressed store, hash-verified

1403 * @param {Array} actions Array of touch actions
1404 */
1405 async touchPerform(actions) {
1406 onlyForApps.call(this)
1407 return this.browser.touchPerform(actions)
1408 }
1409
1410 /**
1411 * Pulls a file from the device.

Callers 3

Appium_test.jsFile · 0.80
AppiumTs.types.tsFile · 0.80
Appium.types.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected