Getting started with CasperJS
CasperJS is a browser navigation scripting & testing utility written in Javascript for PhantomJS or SlimerJS.
Installation: Click here
As an IDE you can use VS/Webstorm if you have license otherwise Sublime Text should be fine.
Let's get started without further ado.
Script1.js
cmd > casperjs filename.js
Output:
Script2.js
Output:
References:http://docs.casperjs.org/en/latest/modules/casper.html
http://docs.casperjs.org/en/latest/modules/casper.html#waitforresource
Comments
Post a Comment