cloudflare.captureScreenshot captures a rendered page through Cloudflare Browser Run.
automations/capture-cloudflare-screenshot.automation.ts
Inputs
ProvideaccountId and exactly one of url or html. screenshotOptions controls PNG, JPEG, or WebP output, full-page capture, clipping, transparency, surface capture, viewport overflow, speed, and JPEG/WebP quality from 0–100. The type defaults to PNG, which does not accept quality. You can also set selector or enable scrollPage. cacheTtl defaults to 5 seconds, and the common Browser Run page controls are available.
Output
Returns the image as aBlob with Cloudflare’s response media type. The action consumes Browser Run duration and is not replay-safe.