Taps a target. The simplified form takes a single string. Provide a natural-language description or a percent pair likeDocumentation Index
Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
"50%, 50%".
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
on | string | No | Target description or percent pair. |
longPress | boolean | No | Hold the tap instead of a quick press. |
longPressDuration | number | No | Hold duration in milliseconds when longPress is set. |
iterations | number | No | Number of taps to issue. |
tapDelay | number | No | Milliseconds between taps when iterations > 1. |
offset | string | { x, y } | No | Pixel offset from the resolved target ("x, y" or { x, y }). |
saveAs | string | No | Variable to store this step’s return value on env.<name>. |
retries | number | No | Times to retry the step on failure before failing the test. |
skipped | boolean | No | Skip this step at execution time. |
comment | string | No | Free-form annotation kept with the step. |