browser_click_at
Click or press-and-hold at exact viewport coordinates to interact with targets selectors cannot reach, such as slider tracks, canvas captchas, or precise points inside wider elements. Returns a screenshot after release.
Instructions
Click (or press-and-hold) a raw viewport coordinate instead of a selector - for targets a selector cannot reliably reach: a slider track, a canvas-drawn captcha, or a precise point inside a wider element. Moves the pointer there first (no teleport), then down, then up, holding first if hold_seconds is set. Returns a screenshot taken right after release.
hold_seconds needs invisible-playwright 0.9.0 or newer to mean anything. In every earlier version the wait it is built on returned instantly, so the press and the release happened in the same frame and the hold never happened - on the one tool that exists for sliders and press-and-hold challenges. The floor in pyproject.toml is set accordingly.
Coordinates are relative to the VIEWPORT, not to the page, so the ones in a
snapshot go stale the moment anything scrolls: a click, a keypress, a lazy
image loading in above the fold. Nothing raises when that happens - the
click simply lands on whatever is at that spot now. Take a fresh snapshot
after anything that could have moved the page, and prefer browser_click with
the element's selector whenever it has one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| hold_seconds | No |