05 November 2013

write test.js

var page = require('webpage').create();

page.viewportSize = { width: 1024, height: 800 };
page.clipRect = { top: 0, left: 0, width: 1024, height: 800 };
page.open('http://findmjob.com/', function () {
    page.render('findmjob.png');
    phantom.exit();
});

then do

phantomjs test.js

I found this tool from Wight and it’s pretty amazing.

I’ll play it a bit more and share if something is interesting.



blog comments powered by Disqus