Skip to content

A tool to take Web page screenshots with common browser screen resolutions and save them as PNG files.

License

Notifications You must be signed in to change notification settings

rubenvandeven/webshots

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

git clone https://github.com/yaph/webshots.git
ln -s /path/to/webshots/webshots $HOME/bin
ln -s /path/to/webshots/webshots.js $HOME/bin

Usage

Create several screenshots at common browser resolutions:

webshots http://example.com

Create one screenshot at given browser resolution:

webshots --width=300 --height=200 http://example.com

Hints

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

About

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

About

A tool to take Web page screenshots with common browser screen resolutions and save them as PNG files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.7%
  • Python 47.3%