Browser CLI icon

Browser CLI

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

Tab → Get HTML

AI-generated

Summary

Fetches the raw HTML for a browser tab by sending the tabs.html command to the configured browser-cli serve endpoint. Set Tab ID to target a specific tab; leave it at 0 to use the active tab. The serve endpoint must permit page reads with --allow-read-page.

Inputs

  • Tab ID — Target browser tab ID. Leave 0 to use the active tab.

Output shape

One or more n8n items containing the returned HTML result.

The node unwraps the response's data field when present, emits each array element as a separate item, and wraps scalar results in a result field. The command requires the serve endpoint's --allow-read-page policy.

Links

Discussion