Skip to content

Instantly share code, notes, and snippets.

@younes200
Last active November 15, 2015 16:56
Show Gist options
  • Save younes200/d1efa60f977eb3beaf24 to your computer and use it in GitHub Desktop.
Save younes200/d1efa60f977eb3beaf24 to your computer and use it in GitHub Desktop.
var casper = new require("casper").Casper();
casper.start('http://www.google.fr/');
casper.then(function() {
casper.echo('Title : ' + casper.getTitle());
});
casper.run();
npm install phantomjs casperjs -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment