Browser CLI icon

Browser CLI

Control a remote browser by talking directly to a browser-cli serve endpoint

DOM → Clear

AI-generated

Summary

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 an error field.

Links

Discussion