Phantomjs signup and search code
Hi, I came across Phantomjs. Excellent thing. I just got so much excited that I wrote a script. It tries to go to a site, open a page, with username and password. and tries to do various action on users behalf.
Office Automation can be achieved via this tool. Other tools like selenium, I will try them.
Drop your comments to my email address or twitter account.
I used to open a page, do a set of action, navigate, and close. This was pretty simple.
See Phantomjs.org
// Simple Javascript example
console.log('Loading a web page');
var page = require('webpage').create();
var url = 'http://phantomjs.org/';
page.open(url, function (status) {
//Page is loaded!
phantom.exit();
});