Skip to content
Cloudflare Docs

Workers Binding API

The Workers Binding API allows you to execute advanced browser rendering scripts within Cloudflare Workers. It provides developers the flexibility to automate and control complex workflows and browser interactions.

Browser Rendering allows developers to programmatically control and interact with a headless browser instance and create automation flows for their applications and products. Once configured, the service provides access to a WebSocket endpoint that speaks the DevTools Protocol. This protocol is what allows Cloudflare to instrument a Chromium instance running in the Cloudflare global network.

Browser Rendering options

The following options are available for browser rendering tasks:

Use the Workers Binding API when you need advanced browser automation, custom workflows, or complex interactions beyond basic rendering. For quick, one-off tasks like capturing screenshots or extracting HTML, the REST API is the simpler choice.