browser_get_attribute
Retrieve the value of a specified attribute from an element using its selector for browser automation.
Instructions
Get an attribute value from an element
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Selector for the element | |
| attribute | Yes | Name of the attribute to get | |
| sessionId | No | Browser session ID |