Browser CLI icon

Browser CLI

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

Page → Extract Markdown

AI-generated

Summary

Extract Markdown from the active browser page, optionally limiting extraction to elements matched by a CSS selector. The node sends the raw extract.markdown command to the browser-cli serve endpoint; the server must permit page reads.

Inputs

  • Selector — Optional CSS selector that limits extraction to matching page content. Leave empty to use the whole page.

Output shape

One or more n8n items containing the raw server result.

An array result is emitted as one item per array element; a non-array result becomes one item. Object results are returned as JSON, while primitive results are wrapped in a result field. The operation uses the raw page payload, not SDK-rendered Markdown.

Links

Discussion