tapOn
Use the tapOn command in Maestro to tap by text or ID, repeat taps, adjust wait times, and handle retries for reliable UI test interactions.
- tapOn: "My text"- tapOn:
id: "id" # or any other selectorRepeat taps
- tapOn:
text: "Button"
repeat: 3
delay: 500 # (optional) Delay between taps. Default 100ms
- tapOn:
id: "someId"
repeat: 3retryTapIfNoChange
Control wait time
Tapping on a specific point on the screen
Tapping on a specific point within another element
Long press
Long press on a specific point within another element
Example
Last updated
Was this helpful?
