a904guy / webshots

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

Home Page:http://geeksta.net/geeklog/web-page-screenshots-phantomjs-python/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
cd webshots; ./install.sh

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 Contributions by Andy Hawkins
Licensed under the MIT License.

About

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

http://geeksta.net/geeklog/web-page-screenshots-phantomjs-python/

License:MIT License


Languages

Language:JavaScript 48.1%Language:Python 39.6%Language:Shell 12.3%