pageres <command...> <command...>

Capture website screenshots

Arguments

NameDescription
commandfilepaths
command

Options

NameDescription
--verbose,-vVerbose output to see errors if you need to troubleshoot
--crop,-cCrop to the set height
--delay,-d <command>Delay screenshot capture
--filename <command>Custom filename
--overwriteOverwrite destination file if it exists. Defaults to appending (n) to the file name if --overwrite is not set
--selector <command>Capture DOM element
--hide <command>Hide DOM element. Can be set multiple times
--no-cropOverride a global crop option within a group
--css <command>Apply custom CSS to the webpage. Specify some CSS or the path to a CSS file
--cookie <command>Browser cookie. Can be set multiple times
--header <command>Custom HTTP request header. Can be set multiple times
--username <command>Username for HTTP auth
--password <command>Password for HTTP auth
--scale <command>Scale webpage n of times
--format <command>Image format. Either png (default) or jpg
--user-agent <command>Custom user agent
--transparentSet background color to transparent instead of white if no background is set
--darkModeEmulate preference of dark color scheme