perform-w3c-gesture
Execute precise touch gestures like swipe, tap, longPress, dragAndDrop, and pinchZoom using the W3C Actions API for reliable mobile app automation in the MCP Appium Server.
Instructions
Perform touch gestures using the W3C Actions API (more reliable than TouchAction API)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
actionType | Yes | The type of gesture to perform | |
duration | No | Duration of the gesture in milliseconds (default: 750) | |
endX | No | Ending X coordinate (for swipe/dragAndDrop) | |
endY | No | Ending Y coordinate (for swipe/dragAndDrop) | |
secondPointEndX | No | Ending X coordinate for second finger (pinch gestures only) | |
secondPointEndY | No | Ending Y coordinate for second finger (pinch gestures only) | |
secondPointStartX | No | Starting X coordinate for second finger (pinch gestures only) | |
secondPointStartY | No | Starting Y coordinate for second finger (pinch gestures only) | |
startX | Yes | Starting X coordinate | |
startY | Yes | Starting Y coordinate |