bogdanrada
7/6/2017 - 7:06 AM

https://skookum.com/dynamic-screenshots-on-the-server-with-phantomjs/ - shotty.js

//create new webpage object
var page = new WebPage();

//load the page
page.open('http://espn.go.com/nfl', function (status) {
		//fire callback to take screenshot after load complete
		page.render('espn.png');
		//finish
		phantom.exit();   	  
	});