browser_get_element_attribute
Retrieve the value of a specific attribute from a web element using its CSS, XPath, ID, name, class, or tag selector.
Instructions
Get an attribute value from an element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| selector | Yes | Element selector | |
| attribute | Yes | Attribute name to get | |
| by | No | Selector type (css, xpath, id, name, class, tag) | css |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |