Last active
August 29, 2015 14:04
-
-
Save gorgogol/3acc1758a8ecb3e3c67e to your computer and use it in GitHub Desktop.
A skeleton for a casperjs test. #casperjs
This file contains 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
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