find_by_image
Locate visual elements on a page using image template matching when DOM selectors are unavailable. Returns coordinates of best match.
Instructions
⭐ Find an image on the current page via OpenCV template matching.
Takes a fresh screenshot, matches against template_path image, returns
(x, y) center of best match. Use for finding visual buttons/icons when
DOM selectors aren't available.
Returns JSON: {"found": true, "x": ..., "y": ..., "score": ..., "template": "..."}
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_path | Yes | ||
| threshold | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |