logo
sample

Note: The Casper.js project which this module relies on is no longer supported or maintained. Therefore this module will also no longer be maintained or supported.

We recommended checking out the improvements to Drupal's testing suite which make much of this project no longer relevant anyway. And, also recommend https://www.cypress.io/ as a better alternative to Casper.js if you want to write your tests in JavaScript.

CasperJS is a navigation scripting & testing utility for PhantomJS and SlimerJS written in JavaScript.

This module provides a Drush wrapper to run CasperJS tests against a Drupal site. It also provides a set of useful methods to perform actions such as:

  • View a page as a certain user.
  • Navigate through pages on a Drupal site.
  • Take screenshots when an assertion fails.
  • Create your own tests to test your project.
Supporting organizations: 
Built the foundation.
Ongoing fixes and improvements

Project information

Releases