← Back to the Browser Automation category

Browser Content

Fetches fully rendered HTML content from a web page. Either url or html is required (not both). See [Cloudflare Browser Rendering Content Endpoint](https://developers.cloudflare.com/browser-rendering/rest-api/content-endpoint/) for details.

BrowserWebCloudflareContent
Try this node

Inputs

NameTypeRequiredDescription
urlstringNoThe URL to render (either url or html required, not both)
htmlstringNoHTML content to render (either url or html required, not both)
rejectResourceTypesjsonNoArray of resource types to block
rejectRequestPatternjsonNoArray of regex patterns to block requests
allowRequestPatternjsonNoArray of regex patterns to allow requests
allowResourceTypesjsonNoArray of resource types to allow
setExtraHTTPHeadersjsonNoCustom HTTP headers
cookiesjsonNoCookies to set
gotoOptionsjsonNoPage navigation options

Outputs

NameTypeDescription
htmlstringFully rendered HTML as returned by Cloudflare
statusnumberHTTP status code from Cloudflare API
errorstringError message if the request fails

Related Nodes in Browser Automation