Install PhantomJSvar page = require('webpage').create();<br /><br /> page.open('http://www.google.com', function() {<br /><br /> setTimeout(function() {<br /><br /> page.render('google.png');<br /><br /> phantom.exit();<br /><br /> }, 200);<br /><br /> });</textarea></p><br />
![MAGAZINE](https://cdn-ak-scissors.b.st-hatena.com/image/square/5dedfbb70f6d324add64f243f69f4f743824210c/height=288;version=1;width=512/https%3A%2F%2Ftaskjs.org%2Fwp-content%2Fuploads%2F2018%2F12%2Fcropped-TASKJS-1.jpg)