Browser CLI icon

Browser CLI

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

DOM → Text

AI-generated

Summary

Read the text content of the element matched by a CSS selector in the remote browser. The browser-cli server must allow page reads (--allow-read-page).

Inputs

  • Selector — CSS selector for the element whose text to read. The UI does not mark this field as required; the node sends its value to the dom.text command.

Output shape

A list of n8n items containing the raw command result, with each returned array element emitted as a separate item.

Object results are returned as item JSON; primitive results are wrapped in a result field. If the server response contains a data field, that value is used. With Continue On Fail enabled, errors are returned in an error field.

Links

Discussion