Signature: start(String url[, Function then])
Configures and starts Casper, then opens the provided url and optionally adds the step provided by the then argument:
casper.start('http://google.fr/', function() {
this.echo("I'm loaded.");
});
casper.run();
casper.start('http://google.fr/');
casper.then(function() {
this.echo("I'm loaded.");
});
casper.run();
casper.start('http://google.fr/');
casper.then(function() {
casper.echo("I'm loaded.");
});
casper.run();