Skip to content
Navigation scripting & testing utility for PhantomJS and SlimerJS http://casperjs.org/
JavaScript Python HTML C# CoffeeScript Shell Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
docs @ 7f56f31
modules
samples
tests
.gitignore
.gitmodules
CHANGELOG.md
LICENSE.md
README.md
package.json

README.md

CasperJS

CasperJS is a navigation scripting & testing utility for PhantomJS. 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. Don't hesitate to pull request for any cool example of yours as well!

Read the full documentation on casperjs dedicated website.

Something went wrong with that request. Please try again.