# CasperJS [![Build Status](https://secure.travis-ci.org/n1k0/casperjs.png)](http://travis-ci.org/n1k0/casperjs) CasperJS is a navigation scripting & testing utility for [PhantomJS](http://www.phantomjs.org/). It eases the process of defining a full navigation scenario and provides useful high-level functions, methods & syntaxic sugar for doing common tasks such as: - defining & ordering navigation steps - filling forms - clicking links - capturing screenshots of a page (or an area) - making assertions on remote DOM - logging events - downloading base64 encoded resources, even binary ones - catching errors and react accordingly - writing functional test suite, exporting results as JUnit XML (xUnit) Feel free to browse our [sample examples repository](https://github.com/n1k0/casperjs/tree/master/samples). Don't hesitate to pull request for any cool example of yours as well! **Read the [full documentation](http://casperjs.org/) on casperjs dedicated website.** Subscribe to the [project mailing-list](https://groups.google.com/forum/#!forum/casperjs) ## Contributing to the docs CasperJS's documentation is written using the [Markdown format](http://daringfireball.net/projects/markdown/), and hosted on Github thanks to the [Github Pages Feature](http://pages.github.com/). To view the source files on github, head to [the gh-pages branch](https://github.com/n1k0/casperjs/tree/gh-pages), and check the [documentation's README](https://github.com/n1k0/casperjs/tree/gh-pages#readme) for further instructions.