get_element_info
Retrieve detailed DOM element information using index or XPath queries to extract element values and properties for browser automation tasks.
Instructions
Get detailed information about a DOM element (supports index or xpath query), can get the value of the element
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| index | No | ||
| xpath | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | HTML tag name | |
| text | Yes | Element text content | |
| index | Yes | Element index | |
| value | Yes | Element value | |
| xpath | Yes | Element XPath | |
| attributes | Yes | Element attributes |