Skip to main content
Use Cloudflare Browser Run through Corsair: one client, typed API calls. This plugin exposes 24 REST operations: content.fetch, markdown.convert, snapshot.capture, accessibilityTree.capture, scrape.extract, json.extract, links.list, screenshot.capture, pdf.render, crawl.start, crawl.get, crawl.cancel, sessions.list, sessions.get, browser.create, browser.close, browser.version, browser.protocol, browser.liveView.create, targets.create, targets.list, targets.get, targets.activate, and targets.close. Quick Actions use the current /browser-run paths; DevTools use the generated API reference’s /browser-rendering/devtools paths. Screenshot/PDF bytes are returned as base64 JSON. Browser DevTools WebSocket/CDP transport, Workers Bindings, and inbound webhooks are not implemented. What you get:
  • 24 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

Fetch rendered HTML
Create a browser session
See the full list on the API page.

What’s next

API reference

Every cloudflarebrowserrendering.api.* operation with input and output types.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.