Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Capture a viewport, full page, or selected page element as an image.
scrapfly.captureScreenshot
Blob
import { automation, onInvocation } from "automate.ax" import { scrapfly } from "automate.ax/scrapfly" export default automation("Capture pricing", () => { onInvocation() scrapfly.captureScreenshot({ url: "https://example.com/pricing", capture: "fullpage", format: "png", resolution: "1440x900", }) })
url
string
capture
format
'jpg' | 'png' | 'webp' | 'gif'
resolution
`${number}x${number}`
waitForSelector
renderingWait
javascript
autoScroll
country
visionDeficiency
options
timeout
cache
cacheClear
cacheTtl
webhookName
{ image, metadata }
image
extensionName
upstreamStatusCode
upstreamUrl