- CLI
- Python SDK
- Go SDK
--query finds the target with semantic vision, waits up to 5 seconds for
it to appear, and taps its center. You can add --ocr-engine or --model
overrides.timeout= (Go:
mobile.WithTimeout) for a slower screen, up to 60 seconds.
Tap an exact point
Coordinates start at(0, 0) in the screen’s top-left corner.
- CLI
- Python SDK
- Go SDK
Press and hold
- CLI
- Python SDK
- Go SDK
bounding_box() and hold its center.
A locator tap uses DCP Locator.tap. Coordinate taps and long-presses use
Touch.tap and Touch.longPress. None of them is a REST operation.
Next steps
Find
Locate a safe target before acting.
Type
Enter text after focusing a field.
Swipe
Scroll or move between two points.