Testing out selenium-webdriver and phantomjs on node js.
Execute using :
node main.js for execution on cloud hosting platforms like heroku.
Or:
pm2 phantom-automator.js for executing using pm2.
Or:
node phantom-automator.js for executing as standalone process.