Skip to content

Instantly share code, notes, and snippets.

@adamyeats-zz
Last active August 29, 2015 14:00
Show Gist options
  • Save adamyeats-zz/11160179 to your computer and use it in GitHub Desktop.
Save adamyeats-zz/11160179 to your computer and use it in GitHub Desktop.
Example Casper test
casper.test.begin('button exists', 1, function(test) {
casper.start('http://localhost:8989/contacts').then(function() {
test.assertExists('#form');
}).run(function() {
test.done();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment