find_element
Locates a web element using CSS, XPath, or other locator strategies and returns its text, tag, and attributes. Specify selector, strategy, and timeout to retrieve element details for browser automation.
Instructions
Find an element and return its text, tag, and attributes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Locator strategy | css |
| timeout | No | Wait timeout in seconds | |
| selector | Yes | CSS selector, XPath, or other locator value |