INTEGRITY Cloudflare Docs

Browser Run

Run headless Chrome on Cloudflare's global network for browser automation, web scraping, testing, and content generation.

Available on Free and Paid plans

Browser Run, formerly known as Browser Rendering, enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network.

Use cases

Programmatically load and fully render dynamic webpages or raw HTML and capture specific outputs such as:

Integration methods

Browser Run offers two categories of integration methods:

Use case Recommended Why
Simple screenshot, PDF, or scrape Quick Actions No code deployment; single HTTP request
Browser automation Playwright, Puppeteer, or CDP Full browser control with scripting
Porting existing scripts Puppeteer, Playwright, or CDP Minimal code changes from standard libraries
AI-powered data extraction JSON endpoint Structured data via natural language prompts
Site-wide crawling Crawl endpoint Multi-page content extraction with async results
AI agent browsing Playwright MCP or CDP with MCP clients LLMs control browsers via MCP
Resilient scraping Stagehand AI finds elements by intent, not selectors
Direct browser control from any environment CDP WebSocket access from local machines, CI/CD, or external servers

Key features

Workers

Build serverless applications and deploy instantly across the globe for exceptional performance, reliability, and scale.

Durable Objects

A globally distributed coordination API with strongly consistent storage. Using Durable Objects to persist browser sessions improves performance by eliminating the time that it takes to spin up a new browser session.

Agents

Build AI-powered agents that autonomously navigate websites and perform tasks using Playwright MCP or Stagehand.

More resources

Get started

Choose an integration method and deploy your first project.

Limits

Learn about Browser Run limits.

Pricing

Learn about Browser Run pricing.

Playwright API

Use Cloudflare's fork of Playwright for testing and automation.

Developer Discord

Connect with the Workers community on Discord to ask questions, show what you are building, and discuss the platform with other developers.

@CloudflareDev

Follow @CloudflareDev on Twitter to learn about product announcements, and what is new in Cloudflare Workers.