Home / Guides / n8n Browser Automation

Browser Automation in n8n Without Per-Minute Fees

Last updated: November 24, 2026

n8n is great at moving data between APIs, but the moment a step needs a real webpage, a price, a form, a site with no API, most teams reach for a metered cloud browser and start paying per browser-minute. There's a simpler shape: run the browser where n8n already runs and call it over HTTP.

The architecture in one sentence

A local browser exposes a REST API on localhost; n8n's built-in HTTP Request node calls it; no community node, no Docker sidecar per run, no per-minute billing. LumaBrowser is built for exactly this: it's a desktop browser with a documented REST API in the same install.

On the same computer, n8n calls it with no API key. If n8n runs in Docker or on another machine, its requests are not from this computer: open Settings > API & MCP > API security in LumaBrowser, set Network mode to the local network (or an IP whitelist), create an API key, and add it to each HTTP Request node as an Authorization: Bearer <key> header. Requests through a proxy or tunnel need the key too. (LumaBrowser's own Docker image accepts any address by default.)

Your first flow: read a rendered page

Four nodes: a trigger of your choice, then three HTTP Request nodes: open the page in its own tab, wait for it to render, pull its text. Use the tab id the first call returns, never a fixed number, so the flow never drives the tab you are looking at.

# Node "Open tab": a silent tab stays out of your tab strip
POST http://localhost:3000/api/browser/tabs
{ "url": "https://example.com/product/42", "silent": true }
# reply: { "success": true, "data": { "id": 12, ... }, "message": "Tab created successfully" }

# Node "Wait": until the content you need is on the page
POST http://localhost:3000/api/browser/tabs/{{ $('Open tab').item.json.data.id }}/wait
{ "selector": "main", "timeout": 15000 }

# Node "Read": the rendered page as text (or type=markdown)
GET http://localhost:3000/api/browser/tabs/{{ $('Open tab').item.json.data.id }}/source?type=text
# reply: { "success": true, "data": { "source": "..." } }

The response is JSON your next node consumes directly ({{ $json.data.source }}), after the page's JavaScript has actually run, which is what request-based scraping nodes can't give you. Close the tab at the end with DELETE /api/browser/tabs/{id}.

Filling forms and clicking through

Multi-step interactions chain the same way: fill, click, wait, each an HTTP Request node against the same tab. Interaction endpoints accept an llmFallback description alongside the CSS selector:

POST http://localhost:3000/api/browser/tabs/{{ $('Open tab').item.json.data.id }}/click
{
  "selector": "button[type=submit]",
  "llmFallback": "Click the login button"
}

The strict selector is the fast path. If the site ships a redesign and it stops matching, the LLM resolves the element from the description and the flow keeps running. The reply says so (its message ends in (resolved by LLM) and data.resolvedSelector holds what it found), so you can update the selector on your own schedule. Because the browser holds a persistent profile, logins survive between runs; sites behind authentication behave the way they do when you browse manually.

Triggering a workflow when a page changes

Polling a page from a Cron node wastes runs and still misses fast changes. Flip the direction: LumaBrowser's website change monitor watches an element you pick visually and fires a webhook the moment it changes. Point it at an n8n Webhook node and the workflow starts with the diff already in the payload:

{
  "monitorName": "Acme Pricing Page",
  "url":         "https://acme.com/pricing",
  "timestamp":   "2026-07-17T09:14:02.412Z",
  "diffSummary": "+1 / -1\n+ $39/mo\n- $49/mo",
  "textPreview": "First 2000 characters of the new text…",
  "changeCount": 17
}

From there it's ordinary n8n: post to Slack, update a sheet, open a ticket.

It works the other way round too. A LumaBrowser Trigger starts an agent run when a webhook arrives, a file changes in a folder, a site shows a web notification, or a page monitor sees a change. A webhook trigger gets its own URL, http://127.0.0.1:3000/hooks/<token>, so an n8n HTTP Request node can hand the agent a job and either get a 202 straight away or wait up to 25 seconds for the result.

Signed-in sites as one HTTP call: Site APIs

If a flow repeats the same clicks on a site you are signed in to, record them once instead of chaining nodes. Sign in, right-click the tab and choose Keep alive, then click New site API under Settings > Site APIs and walk the steps once with the builder agent. You get a named endpoint, parameters in and JSON out, that replays in a hidden tab sharing your session:

POST http://localhost:3000/api/site-apis/sites/{site}/endpoints/{name}/run
{ "orderId": "A-1042" }

When the site changes and a recorded selector stops matching, the model finds the element again from its description and saves the fix. The same endpoints are MCP tools (siteapi_<site>_<endpoint>, plus site_apis_list, site_apis_run and site_apis_show_tab) and chat tools.

Why not just use a cloud browser API?

The full cost comparison against the metered options lives on the workflow automation page.

Wire a real browser into your next flow

Download LumaBrowser free, keep n8n exactly as it is, and drive the browser from the HTTP Request node you already know. The API reference documents every endpoint with working examples.