Find an element on the page
steel_findLocate web elements by text, regex, or role to get their reference for further actions in browser automation.
Instructions
Find labelled elements by text, safe regex or role and return their @eN refs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Only return elements with this role, e.g. button or link. | |
| text | No | Case-insensitive substring of the element label. | |
| regex | No | Safe regular expression matched against the element label. | |
| cursor | No | Cursor from a previous truncated response, to continue reading where it stopped. | |
| max_tokens | No | Cap on the text returned, in tokens. Defaults to 8000. | |
| session_id | Yes | Live session_id from steel_session_create. | |
| max_results | No | Cap on matches returned. | |
| interactive_only | No | Only return elements that can actually be clicked or typed into. |