A command-line tool to capture website screenshots in multiple resolutions for testing responsiveness.
Pageres-cli is a command-line tool that captures screenshots of websites in various screen resolutions. It helps developers test and ensure their websites are responsive by generating multiple screenshots quickly from different URLs and resolutions. The tool also supports rendering SVG images and capturing local HTML files.
Web developers, QA engineers, and designers who need to test website responsiveness across different screen sizes and automate screenshot generation for documentation or testing purposes.
Developers choose pageres-cli for its speed, simplicity, and flexibility in capturing screenshots across multiple resolutions and URLs with advanced options like DOM element selection, custom CSS, and browser emulation, all from the command line.
Capture website screenshots
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates screenshots rapidly; the README claims it can produce 100 screenshots from 10 websites in just over a minute, making it efficient for bulk testing.
Supports both live URLs and local HTML files, allowing developers to test during development and on deployed sites seamlessly, as shown in usage examples.
Offers options like cropping, delays, DOM element selection, and custom CSS, enabling precise control over what is captured, as detailed in the options section.
Includes features like dark mode simulation, custom user agents, and HTTP headers, useful for testing under specific conditions or authenticated sessions.
The README explicitly states that device keywords like 'iphone5s' are no longer supported, which can disrupt workflows for users relying on these shortcuts.
Linux users may face sandboxing errors requiring additional system configuration, as noted in the installation notes, adding setup complexity.
Relies on Puppeteer and Chrome, which can be resource-intensive and may not be suitable for lightweight or headless server environments without GUI support.