Serverless timeout
Use async delivery for captures whose navigation budget exceeds the caller request window.
Playwright remains the right tool for tests and unrestricted browser sessions. The API covers the narrower job of turning hostile input into a delivered artifact.
No result yet
Complete the settings and run the tool. Images, PDFs, text, and video all preview in this panel.
curl --fail-with-body "https://api.pagecapture.dev/v1/take" \
-H "X-Access-Key: $PAGECAPTURE_KEY" \
-H "Content-Type: application/json" \
--data '{"url":"https://example.com","format":"png","full_page":true,"full_page_scroll":true}' \
-o capture.pngThe app no longer packages a browser binary and its native dependencies for screenshot jobs.
Browser contexts are admitted by quota and queues instead of consuming unbounded function memory.
Assertions, Firefox/WebKit and unrestricted evaluation are explicitly outside this migration.
The public capture sequence is stable, versioned and part of the resulting cache key.
Use the same URL and readiness signal from the current Playwright job.
Send those values to /v1/take instead of launching a local browser.
Compare artifacts and error handling before removing the existing worker.
Playwright is the right tool when browser control itself is part of the product or test.
No default is supplied: we do not invent engineering-hour savings.
This is an editable scenario, not a savings claim. Only successful captures that miss cache are billable.
Written by PageCapture Engineering. Reviewed by PageCapture API maintainers. Last tested 2026-08-11.
cURL, TypeScript and Python executed against controlled fixtures; request contract and artifact format verified.
Ready to try it against your own page?
Return to the configured demo