grid
Overlay a labelled coordinate grid on an image to estimate where an element sits when text-based locating fails, then zoom into that area to get the exact rectangle.
Instructions
Overlay a labelled coordinate grid every step px on an image, to find roughly where an element is when locate cannot read it (icons, images, no text). Then call zoom on that area for the exact rect. Writes the grid image to the temp folder; the input is not changed. The preview IS the grid, labels in source image px. Returns the grid path and the source image size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | Grid spacing in image px (> 0). | |
| image_path | Yes | Path of a PNG, JPEG or WebP image on this machine (~ allowed). |