Browser Run
Run headless Chrome on Cloudflare's global network. Capture screenshots, generate PDFs, scrape content, extract structured data with AI, and crawl entire websites.
Quick Actions
Screenshot
/screenshot
Capture PNG, WebP, or JPEG screenshots of any webpage. Supports full-page capture and custom viewports.
PDF Generation
Generate PDF documents from URLs or custom HTML. Configure page format, orientation, and background printing.
HTML Content
/content
Fetch the fully-rendered HTML of a page after JavaScript execution. Get the DOM as the browser sees it.
Markdown Extraction
/markdown
Convert any webpage into clean Markdown format. Ideal for feeding content into LLMs and RAG pipelines.
Web Scraping
/scrape
Extract structured data from specific HTML elements using CSS selectors. Get text, HTML, and attributes.
AI JSON Extraction
/json
Use AI to extract structured data from any webpage. Define output with a prompt or JSON schema.
Link Discovery
/links
Retrieve all links from a webpage. Useful for site mapping, SEO analysis, and content discovery.
Snapshot
/snapshot
Capture two to eight formats in one page load, including a PDF, links, CSS matches, and AI-extracted JSON.
Accessibility Tree
NEW/accessibilityTree
Capture Chrome's semantic tree — roles, names, and hierarchy. A compact structural view of a page for AI agents.
Crawl
BETA/crawl
Crawl entire websites with a single API call. Follow links, respect robots.txt, and return content in multiple formats.
Binding vs REST
NEWenv.BROWSER
The same Quick Action over REST with a bearer token, and through env.BROWSER.quickAction() with no token at all.