Browser CLI icon

Browser CLI

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

DOM → Click

AI-generated

Summary

Click an element in the active browser tab by sending its CSS selector to the browser-cli dom.click command. The browser-cli serve endpoint must permit control operations (--allow-control).

Inputs

  • Selector (required) — CSS selector for the element to click. The UI does not mark this field required, but the operation passes its value to the command as selector; an empty value may not identify an element.

Output shape

One or more n8n items containing the raw command result.

The node unwraps the response's data field when present, then emits each array entry as a separate item; non-object values are wrapped in { "result": value }. Errors stop execution unless Continue On Fail is enabled, in which case an item with an error field is returned.

Links

Discussion