browser_find_text_coordinates
Find elements by fuzzy text search across all frames and shadow DOMs, returning bounding box coordinates for clicking or spatial validation.
Instructions
Find elements matching a fuzzy text string and return their bounding boxes and text content. This is a crucial fallback when the AX tree is broken or an element lacks semantic meaning. Automatically searches across all frames and penetrates shadow DOMs using the Puppeteer ::-p-text() engine.
You can use the returned coordinates with validate_spatial_coordinate or coordinate_click.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to search for (case-insensitive fuzzy match) | |
| timeoutMs | No | Wait this many ms for the text to appear (default: 0 = instant check) | |
| visibleOnly | No | Only return visible elements (default: true) |