moonshot
Screenshots of web with Selenium.
Last updated a year ago by andersdjohnson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install moonshot 
SYNC missed versions from official npm registry.

moonshot

Screenshots of web with Selenium.

Just specify a list websites to capture, and at which window resolutions for each. Full-page screenshots are supported.

Etymology: Moonshot uses Selenium to take screen***shot***s. The eponymous word selenium comes from the Greek selēnē (σελήνη) meaning moon. Hence moonshot, a word which also means a project proposing a radical solution to a huge problem using breakthrough technology.1

There are many tools based purely on PhantomJS (html2png, pageres), which unfortunately hasn't been great at rendering web fonts. By using Selenium, we can get screenshots from any supported browser that look exactly as they would appear to real users.

Install

npm i --save moonshot

Use

var moonshot = require('moonshot');
moonshot([
 ['google.com', [
   // a couple of ways to specify resolutions:
   [1280,800], '800x600', /* width only */ '320', {width: 1024, height: 768}
 ]],
 ['andrz.me', [ /* ... */ ] ]
]);

Current Tags

  • 1.1.1                                ...           latest (a year ago)

6 Versions

  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |