Skip to content

Instantly share code, notes, and snippets.

@gorgogol
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gorgogol/3acc1758a8ecb3e3c67e to your computer and use it in GitHub Desktop.
Save gorgogol/3acc1758a8ecb3e3c67e to your computer and use it in GitHub Desktop.
A skeleton for a casperjs test. #casperjs
casper.test.begin('Test', numTests, function(test){
casper.start('http://en.wikipedia.org/', function(){
//...
});
casper.then(function(){
//...
});
casper.run(function(){ test.done();});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment