Casper.js is a navigation utility for [PhantomJS](http://www.phantomjs.org/). It eases the process of defining a full navigation scenario and provides useful high-level function, methods & syntaxic sugar for doing common tasks such as:
-chaining navigation steps
-defining & ordering navigation steps
- capturing screenshots of a page (or an area)
- making assertions on remote DOM
- logging events
- evaluating dynamic code within the remote page environment
- retrieve base64 encoded version of remote resources
...
...
@@ -194,7 +195,43 @@ casper.run ->
## Casper.js API Documentation
Code is quite heavily documented using `jsdoc`, but here are the whole API documentation with sample examples supplied:
Code is quite heavily documented using `jsdoc`, but below you'll find the whole API documentation with added sample code added.
### Casper([Object options])
Casper constructor accepts a single `options` argument which is an object. Available options are: