Find Element
element_findLocate elements on a webpage using CSS selectors, XPath, or text matching. Supports shadow DOM and iframes for precise targeting.
Instructions
Find an element on the page using CSS selector or XPath. Bare selectors are treated as CSS; use text:... for text matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Timeout in seconds to wait for element | |
| selector | Yes | CSS selector or XPath to find the element. Bare selectors are CSS; use text:... for text matching or explicit tag:/css:/xpath:/@attr locators. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||