Phantom js tutorial
Phantomjs is very useful tool for taking screenshot of the webpages. To take a screenshot of the simple page webpage. var phantom = require('phantom'); /***take screenshot of url**/ var options = { path: "/phantom/bin/" }; phantom.create(function(ph) { ph.createPage(function(page) { page.open("http://www.google.com", function(status) { console.log("opened page? ", status); page.evaluate(function() { return document.title; }, function(result) { console.log('Page title is ' + result); ...