O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CasperJS

CasperJS is an automated testing tool that sits on top of PhantomJS, a headless web browser that is used for automating user interactions. CasperJS allows us to write tests using assertions, and organize the tests, so that they can all be run together sequentially. After the tests are run, we can receive a summary of how many tests passed versus how many tests failed. In addition to this, CasperJS can tap into the functionality within PhantomJS to take web page screenshots as tests are being conducted. This allows human users to visually evaluate a test run.

In order to install CasperJS, we must first install NodeJS and PhantomJS.

You can install NodeJS by downloading the NodeJS installer for your operating system from this link: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required