tap_css
Taps a layout viewport point using CSS pixel coordinates, such as values returned by getBoundingClientRect, to target elements on an iOS Safari page.
Instructions
Tap a point given in CSS pixels of the layout viewport (what getBoundingClientRect returns).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>",
"y": "<y>"
},
"name": "tap_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| 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 |