Cloudflare Browser Rendering
Cloudflare Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network, facilitating tasks such as automating browser interactions, capturing screenshots, generating PDFs, and extracting data from web pages.
Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Capture Screenshot
CLOUDFLARE_BROWSER_RENDERING_CAPTURE_SCREENSHOTTool to capture a webpage screenshot. Use when you need a visual snapshot of a URL or HTML with optional viewport and clipping. Always validate screenshot content — the tool returns a successful result even when the captured page is a 404 or error page, with no error signal raised.
List Accounts
CLOUDFLARE_BROWSER_RENDERING_LIST_ACCOUNTSList Cloudflare accounts accessible to the authenticated API token, with optional name filtering and pagination. Returns account IDs, names, types, and settings for use with browser-rendering actions; the accounts endpoint requires Account Settings Read permission.
Scrape HTML Elements
CLOUDFLARE_BROWSER_RENDERING_SCRAPE_HTML_ELEMENTSTool to scrape HTML elements for text, HTML, attributes, and box metrics. Use when you need detailed data of matched selectors after rendering a page.
Take Webpage Snapshot
CLOUDFLARE_BROWSER_RENDERING_TAKE_WEBPAGE_SNAPSHOTCapture both rendered HTML content and a screenshot of a webpage in a single request. Returns the full DOM content as a string and a Base64-encoded screenshot image. Useful when you need both visual representation and page content for analysis.