Skip to main content
Cloudflare Browser Rendering logo
  • Category: web scraping & browser
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 4
  • Triggers: 0
  • Slug: CLOUDFLARE_BROWSER_RENDERING
  • Version: 20261101_00

Tools

Slug: 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.

Input Parameters

string
URL of the page to capture; required if html is unset
string
Raw HTML content to render; required if url is unset
integer
Cache TTL in seconds (0 disables cache)
object
Viewport dimensions
string
required
Cloudflare account identifier
object
Screenshot options like fullPage or clip

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: 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.

Input Parameters

string
Filter accounts by name using partial/substring match. Case-insensitive.
integer
Page number for pagination (1-indexed). Use with per_page to navigate through results.
integer
Number of accounts to return per page. Valid range: 5-50. Default: 20.
string ("asc" | "desc")
Sort direction for results ordering. Use ‘asc’ for ascending (A-Z, oldest first) or ‘desc’ for descending (Z-A, newest first).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: 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.

Input Parameters

string
URL of the webpage to navigate and scrape. Either ‘url’ or ‘html’ must be provided.
string
Inline HTML content to render and scrape. Either ‘url’ or ‘html’ must be provided.
integer
Cache TTL in seconds (0-86400). Default is 5 seconds. Set to 0 to disable caching.
array
required
List of CSS selectors to scrape. At least one selector is required.
string
required
Cloudflare Account ID (32-character hexadecimal string). Use List Accounts to retrieve valid IDs.
integer
Maximum time to wait after page load in milliseconds (0-300000). Use for JavaScript-heavy pages.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: 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.

Input Parameters

string
URL of the webpage to capture. Either ‘url’ or ‘html’ must be provided.
string
Raw HTML content to render and capture. Use this instead of ‘url’ when you have HTML directly.
array
List of cookies to set before navigation
integer
Cache TTL in seconds (0 disables caching, max 86400)
object
Viewport dimensions and device emulation
string
Cloudflare account identifier. Optional - the account is typically derived from the API connection configuration.
string
Custom user agent string
array
Styles to inject into the page
boolean
Continue even if certain events fail
object
Navigation settings before snapshot
array
Scripts to inject into the page
object
HTTP authentication credentials
integer
Max time in ms for post-load actions
integer
Wait time in ms before proceeding
object
Wait for an element before snapshot
string
Emulate CSS media type (e.g., ‘print’)
object
Options controlling screenshot capture
array
Allowed resource types
array
Regex patterns to allow requests
array
Blocked resource types
object
Additional HTTP headers for navigation
array
Regex patterns to block requests
boolean
Enable or disable JavaScript execution

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not