overview
What is Cloudflare Browser Run?
Cloudflare Browser Run is a browser automation and AI agent browsing tool developed by Cloudflare that enables developers and AI agents to programmatically control and interact with headless browser instances. It provides access to headless Chrome instances controllable via standard automation libraries like Puppeteer, Playwright, or the Chrome DevTools Protocol (CDP). This tool allows for the automation of browser tasks without a graphical user interface, leveraging Cloudflare's global network for execution. Its primary applications include end-to-end testing of web applications, web scraping and data extraction from dynamic webpages, secure investigation of suspicious URLs in isolated environments, and content generation such as screenshots and PDFs. A significant recent emphasis has been on enabling AI agents to interact with the web at scale, serving as the 'eyes and hands' for AI models to navigate, fill forms, and extract data where traditional APIs are absent. Browser Run offers two main integration methods: Quick Actions for stateless tasks via REST API or Workers binding, and Browser Sessions for direct, full browser control using Puppeteer, Playwright, CDP, or Cloudflare's Stagehand, deployable within Cloudflare Workers or connectable from any environment.