Aug 25, 2018

[HDGEM] Hello, World! of phantomjs

First install phantomjs

Then Create a new text file that contains the following two lines:
console.log('Hello, world!');  phantom.exit();
From the command prompt type:
phantomjs hello.js


--
Posted By Blogger to HDGEM at 11/24/2016 01:18:00 PM