Last active
November 15, 2015 16:56
-
-
Save younes200/d1efa60f977eb3beaf24 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var casper = new require("casper").Casper(); | |
| casper.start('http://www.google.fr/'); | |
| casper.then(function() { | |
| casper.echo('Title : ' + casper.getTitle()); | |
| }); | |
| casper.run(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npm install phantomjs casperjs -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment