casperjs Getting started with casperjs

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

This section provides an overview of what casperjs is, and why a developer might want to use it.

It should also mention any large subjects within casperjs, and link out to the related topics. Since the Documentation for casperjs is new, you may need to create initial versions of those related topics.

First program to getting started

var casper = require('casper').create();
casper.start('http://casperjs.org/');

casper.then(function() {
    this.echo('First Page: ' + this.getTitle());
});

casper.thenOpen('http://phantomjs.org', function() {
    this.echo('Second Page: ' + this.getTitle());
});

casper.run();
 

Installation or Setup

Detailed instructions on getting casperjs set up or installed.



Got any casperjs Question?