Browser CLI icon

Browser CLI

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

Page → Extract Links

AI-generated

Summary

Extracts links from the current browser page by sending the extract.links command to the Browser CLI serve endpoint. Optionally limits extraction to elements matching a CSS selector; with the selector empty, uses the whole page. The serve endpoint must permit page reads (--allow-read-page).

Inputs

  • Selector — CSS selector to scope link extraction. Leave empty to use the whole page.

Output shape

A list of items containing the raw extract.links result; array results become one n8n item per element, while a non-array result becomes one item.

Each returned row is placed in the item's JSON (non-object values are wrapped as { "result": value }). With Continue On Fail enabled, errors are returned as { "error": "…" } items.

Links

Discussion