Actions72
- Tab Actions
- Page Actions
- DOM Actions
- Group Actions
- Window Actions
- Session Actions
- Storage Actions
- Performance Actions
- Extension Actions
- Client Actions
- Command Actions
DOM → Attribute
AI-generatedSummary
Read a named HTML attribute from the element matched by a CSS selector in the remote browser page. The Browser CLI sends a dom.attr command; the serve endpoint must permit page reads (--allow-read-page).
Inputs
- Selector — CSS selector for the element to inspect. The UI leaves this optional, but the operation sends the selector value to the server.
- Attribute (required) — Name of the attribute to read, such as
href.
Output shape
One or more n8n items containing the raw command result.
The node unwraps a response's
datafield when present, then emits each array element as a separate item; non-object values are wrapped in{ "result": value }. The exact result fields depend on the serve endpoint.