Tap Command
What Elements Can You Reference?
Syntax
Referencing Text
tapOn: "text"tapOn: "Continue"Referencing Element IDs
tapOn.id: "element ID"tapOn.id: "com.spotify.music:id/email"Fallback to AI Execution: What If a Command Is Non-Executable?
⚠️ iOS UI Hierarchy Limitation
How to Easily Access Element IDs using the UI Inspector
Step 1: Activate the UI inspector tool by clicking the icon.
Step 2: Click on the element you wish to capture.

Step 3: The element ID is automatically copied, ready to be pasted into your test script.

Which type of tapping execution works best?
Last updated