Find on the page
browser_findLocate elements anywhere on the page by name or text match, including off-screen ones. Returns up to 15 nearest matches with refs and positions so you can act on them directly instead of scrolling.
Instructions
Find elements anywhere on the page, in view or not, whose name or text contains all the words (any case). Up to 15 matches, nearest first, each a view line with its ref and where it is (in view, or pixels above/below); act on one directly. Use it to reach something off screen that you can name, instead of scrolling through the page to look for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Words to match, e.g. add to cart |