tap_element
Taps an element using its accessibility bounds, selecting a random point inside (excluding margin) to prevent identical repeated taps. Get bounds from get_screen_state.
Instructions
Taps an element identified by its accessibility bounds. The tap point is chosen randomly inside the bounds after excluding margin pixels on each edge (center fallback for small elements), so repeated taps never land on identical pixels. Get bounds from get_screen_state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bounds | Yes | [left, top, right, bottom],来自 get_screen_state 节点的 boundsInScreen。 | |
| margin | No | Exclude this many pixels from each edge (default 4). | |
| verify | No | 复查屏幕树确认变更生效 (default true). | |
| verify_poll_ms | No | 轮询树的时间间隔毫秒 (default 300). | |
| verify_timeout_ms | No | 等待变更生效的超时毫秒 (default 3000). |