← Back to the Browser Automation category

Browser Markdown

Converts web pages to Markdown format. Either url or html is required (not both). See [Cloudflare Browser Rendering Markdown Endpoint](https://developers.cloudflare.com/browser-rendering/rest-api/markdown-endpoint/) for details.

BrowserWebCloudflareMarkdown
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)
rejectRequestPatternjsonNoArray of regex patterns to block requests
gotoOptionsjsonNoPage navigation options
waitForSelectorjsonNoSelector to wait for before extraction

Outputs

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

Related Nodes in Browser Automation