Saturday, November 19, 2016

Task Automation without API through Headless Browser

I've been researching lately on headless browsing as I have this automation idea that can literally put me on early retirement. For those of you who are looking to automate some task but the Site you're relying on don't have any available API to work with then this might solve your problem. Special thanks to my colleague Huy who suggested the idea.


Undertanding Headless Browser:
https://en.wikipedia.org/wiki/Headless_browser

PhantomJS - This is a good headless browser
http://phantomjs.org/

CasperJS - You can create simple javascript code using this which makes interaction and navigation with your headless browser so much easier.
http://casperjs.org/