Browser CLI icon

Browser CLI

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

Page → Extract Text

AI-generated

Summary

Extracts visible text from the active browser page, optionally limiting extraction to elements matched by a CSS selector. The browser-cli serve endpoint must permit page reads (--allow-read-page).

Inputs

  • Selector — CSS selector to limit text extraction to matching page content; leave empty to use the whole page.

Output shape

One or more n8n items containing the raw result returned by the extract.text command.

Array results become separate items; a non-array result becomes one item. Primitive results are wrapped as { "result": value }. With Continue On Fail enabled, command errors are returned as { "error": message } items.

Links

Discussion