Jun 22, 2017 Screen Capture Web Pages with JavaScript This JavaScript code will help you convert any web URL into a PNG image from the command line. The script renders the page using Webkit, the same engine that’s used inside Google Chrome and Apple Safari browser. See demo at screenshot.guru. var system = require('system'); // Web Address (URL) of the page to capture var url = system.args[1]; //
