get_attributes
Retrieve attribute values from a webpage element, either a single specified attribute or all attributes as a dictionary when no attribute is specified.
Instructions
Get one attribute's value from an element, or all of its attributes
as a dict if attribute isn't given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| attribute | No |