Click at coordinates
click_atClick a raw viewport coordinate to automate interactions with canvases, maps, and video players that have no addressable elements. Uses CSS pixel positions via real CDP events.
Instructions
Click a raw viewport coordinate instead of an element.
Use click with a uid whenever the target shows up in a snapshot — it is
robust against layout shifts, this is not. Coordinates are for surfaces with
no addressable element: canvases, maps, video players, image hotspots.
The point must lie inside the current viewport; scroll_page or scroll_to_selector first if it does not. Coordinates are in CSS pixels and ignore the device pixel ratio, so they match what emulate/resize_page report.
Same input path as click: real CDP events, the same reported scripted
fallback, the same 10s bound per step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate in CSS pixels, relative to the viewport's top-left corner. | |
| y | Yes | Y coordinate in CSS pixels, relative to the viewport's top-left corner. | |
| dbl_click | No | Send a double-click instead of a single click. | |
| include_snapshot | No | Append a fresh page snapshot to the response. Worth it when this action changes the page and take_snapshot would be your next call anyway — it saves a round trip, at the cost of a much larger response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |