Package Information
Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.0
Documentation
n8n-nodes-pagrun
An n8n community node for Pagrun — automate a real browser over one API. Open pages, run scenarios, scrape JavaScript-rendered sites, fill forms and take screenshots from inside your n8n workflows. To the site it looks like an ordinary Chrome.
Install
In n8n: Settings → Community Nodes → Install, then enter n8n-nodes-pagrun.
Self-hosted from source:
cd integrations/n8n
npm install
npm run build
and point n8n at the folder (see n8n's community node docs).
Credentials
Create Pagrun API credentials with a key from your Pagrun dashboard (the key is shown once, when created). Base URL defaults to https://pagrun.com. The Test button checks the key against /v1/usage.
Operations
- Run Scenario — send a scenario (a
stepsarray, plus optionalfingerprint,proxy,pace,profile_id) to/v1/runand get each step's result back: text, HTML, an expression's value, or a base64 PNG screenshot. - Run JavaScript — open a page (optional) and run a snippet in its context; its return value comes back.
- Create Fingerprint — mint a consistent browser identity and get its seed, to reuse across runs.
The node is also exposed as a tool (usableAsTool), so an AI-agent node can call Pagrun directly.
Example scenario
{
"steps": [
{ "action": "goto", "url": "https://news.ycombinator.com" },
{ "action": "eval", "script": "document.querySelector('.titleline > a').textContent" },
{ "action": "screenshot" }
]
}
License
MIT