====== PhantomJS ====== * http://phantomjs.org/ * https://github.com/niwibe/phantompy * [[http://www.sitepoint.com/understanding-phantomjs/|Understanding PhantomJS]] * Headless Webkit based web browser ===== 웹페이지 스크린샷 뜨기 ===== * 참조 : [[http://www.netmagazine.com/features/10-things-you-didnt-know-javascript-could-do|10 things you didn't know JavaScript could do]] var page = new WebPage(); page.open('http://google.com', function (status) { page.render('google.png'); phantom.exit(); });