tap_element
Taps the center of an iOS Safari page element by CSS selector using a real touch at its measured screen position, so taps land correctly despite toolbar and keyboard layout.
Instructions
Tap the middle of a page element by CSS selector, with a real touch at the right screen position (measured, so it is right whatever Safari's bars and the keyboard are doing).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | index in inspector_pages; default the first page with a real address | |
| wait | No | seconds to wait for the page list, default 60 | |
| index | No | which match, default 0 | |
| scroll | No | scroll it into view first, default true | |
| selector | Yes | CSS selector of the element |