Browser CLI icon

Browser CLI

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

Page → Extract JSON

AI-generated

Summary

Extracts JSON-LD or other structured data from the current browser page by sending extract.json to the browser-cli serve endpoint. An optional CSS selector limits extraction; leave it empty to use the whole page. The serve endpoint must permit page reads (--allow-read-page).

Inputs

  • Selector — Optional CSS selector to scope extraction. Leave empty to extract from the whole page.

Output shape

One or more n8n items containing the raw command result.

The node unwraps the response's data field when present and emits each array entry as a separate item; a non-array result becomes one item. Object results are returned as item JSON, while primitive results are wrapped in { "result": ... }.

Links

Discussion