Request
- cURL
- Node.js
- Python
With Custom Viewport Width
Control the width while capturing full height:With
isFullPage: true, the height is automatically determined by the page content.Use Cases
- Archiving - Capture complete page content
- Documentation - Screenshot entire articles or docs
- Testing - Visual regression testing
- PDFs - Generate complete page PDFs
With Wait for Content
For pages with lazy-loaded content:Performance Tips
Full page captures can be resource-intensive:- Increase timeout - Long pages need more time
- Use
networkidle- Ensures lazy content loads - Consider WebP - Better compression for large images
- Enable caching - Avoid redundant captures