find_elements
Locate interactive elements on a webpage by text, type, or CSS selector. Returns matching elements with selectors, text, and attributes for further interaction.
Instructions
Search for specific interactive elements on the current page.
Returns matching elements with selectors, text, and attributes. Call scout_page_tool first to cache the page structure, then use this tool to find specific elements by text, type, or CSS selector.
Args: session_id: Active session ID. query: Text or selector to search for (case-insensitive substring match). Matches against element text, selector, id, name, aria-label, placeholder, href. element_types: Filter by tag name, e.g. ['button', 'input', 'a']. visible_only: Only return visible elements. Default: true. frame_context: Limit search to a specific iframe (use selector from scout report). max_results: Maximum elements to return. Default: 25.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| query | No | ||
| element_types | No | ||
| visible_only | No | ||
| frame_context | No | ||
| max_results | No |