Taking web page screenshots
15 September, 2012
- 4 min read
Recently I have worked on system that requires to take web page screenshots. Not only a screenshot of the whole page but of a concrete element. Looking on the net I have found many solutions for this problems, which can be classified in to categories: if (system.args.length < 3 || system.args.length > 5) {
console.log('Usage: rasterize.js URL filename [paperwidthpaperheight|paperformat] [zoom]');
console.log(' paper (pdf output) examples: "5in7.5in", "10cm20cm", "A4", "Letter"');
phantom.exit(…