Performs a specific touch action. The action object need to contain the action
name (longPress, press, tap, wait, moveTo, release) and additional information
about either the element, x/y coordinates or touch counts.
Usage
1
browser.touchPerform(actions);
Parameters
Param
Type
Details
actions
Object
touch action as object or object[] with attributes like touchCount, x, y, duration
browser.touchPerform([{ action: 'tap', options: { element: '1', // json web element was queried before x: 10, // x offset y: 20, // y offset count: 1// number of touches } }]);