Skip to content
A tool to take Web page screenshots with common browser screen resolutions and save them as PNG files.
JavaScript Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore call phantomjs from python for each resolution to make it work properly
webshots Make webshots work with phantomjs 2.0.

webshots - take Web page screenshots

A utility for taking Web page screenshots with common browser resolutions and saving them as PNG files using PhantomJS. Read more in this brief introduction to webshots.


git clone
ln -s /path/to/webshots/webshots $HOME/bin
ln -s /path/to/webshots/webshots.js $HOME/bin


Create several screenshots at common browser resolutions:


Create one screenshot at given browser resolution:

webshots --width=300 --height=200


  • When pages have the body element background set to transparent it is set to white to reflect how browsers render it.


Written by Ramiro Gómez, licensed under the MIT License.

Something went wrong with that request. Please try again.