Full Page Screenshots
By default, DomShot captures only the visible viewport area. Use thefullPage parameter to capture the entire scrollable page.
Basic full page screenshot
bash
Full page with viewport preset
bash
Full page with custom format
bash
Viewport vs Full Page
| Feature | Viewport (default) | Full Page |
|---|---|---|
| Capture area | Visible area only | Entire scrollable page |
| Processing time | Fast | Slower (depends on page length) |
| File size | Consistent | Varies with page length |
| Best for | Hero sections, previews | Documentation, archiving |
Performance considerations
Recommendations:- Use JPEG or WebP format for long pages to reduce file size
- Set quality to 80-90 for good balance of size and clarity
- Consider breaking very long pages into sections
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
fullPage | boolean | false | Capture the full scrollable page instead of viewport |
See also
- Viewport Presets - Device sizes and dimensions
- Image Formats - PNG, JPEG, WebP options