Actions72
- Tab Actions
- Page Actions
- DOM Actions
- Group Actions
- Window Actions
- Session Actions
- Storage Actions
- Performance Actions
- Extension Actions
- Client Actions
- Command Actions
DOM → Clear
AI-generatedSummary
Clear the input matched by a CSS selector in the active browser tab by sending the dom.clear command to the browser-cli serve endpoint. The server must allow browser control for this operation.
Inputs
- Selector — CSS selector for the input to clear. The field defaults to an empty string; the operation sends that value as the selector without a tab ID.
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 it becomes one item. Primitive results are wrapped as
{ "result": ... }. With Continue On Fail enabled, an error is returned as an item with anerrorfield.