Actions72
- Tab Actions
- Page Actions
- DOM Actions
- Group Actions
- Window Actions
- Session Actions
- Storage Actions
- Performance Actions
- Extension Actions
- Client Actions
- Command Actions
DOM → Focus
AI-generatedSummary
Focuses the matched page element using the browser-cli dom.focus command. Enter a CSS selector to identify the element; the selector defaults to an empty string, which the node passes through to the command.
Inputs
- Selector — CSS selector for the element to focus.
Output shape
A list of n8n items containing the raw command result.
If the response data is an array, each element becomes a separate item; otherwise, the returned data becomes one item. Requires the browser-cli serve endpoint to permit control commands (
--allow-control).