Skip to content

Quick Actions

Quick Actions provide simple interfaces for common browser tasks like capturing screenshots, extracting HTML content, generating PDFs, and more. You can use Quick Actions in two ways:

  • REST API — HTTP endpoints for one-off requests or external integration
  • Workers binding — Call Quick Actions directly from a Cloudflare Worker using env.BROWSER.quickAction()

The following are the available options:

Use Quick Actions when you need a fast, simple way to perform common browser tasks such as capturing screenshots, extracting HTML, or generating PDFs without writing complex scripts. For more advanced automation, custom workflows, or persistent browser sessions, use Puppeteer, Playwright, or CDP.

Before you begin

REST API

To use Quick Actions via the REST API, create a custom API Token with the following permissions:

  • Browser Rendering - Edit

Workers binding

To use Quick Actions from a Worker, configure a browser binding in your wrangler.json. No API token is needed when using the Workers binding.

JSONC
{
"browser": {
"binding": "BROWSER"
}
}