tap_element
Taps a mobile element by selector or at screen coordinates. Use on iOS when element.click() is ignored. Requires element visible; no scroll or wait.
Instructions
Taps a matched element via element.tap() or at absolute screen coordinates (x, y). No scroll-into-view or wait — element must already be visible on screen. Use instead of click_element on iOS where element.click() is ignored. Provide selector OR both x and y. Mobile-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Element selector (CSS, XPath, accessibility ID, or UiAutomator) | |
| x | No | X coordinate for screen tap (if no selector provided) | |
| y | No | Y coordinate for screen tap (if no selector provided) |