Skip to content

Instantly share code, notes, and snippets.

@alexgibson
Created June 29, 2015 13:29
Show Gist options
  • Save alexgibson/a94db414ee93a7c58013 to your computer and use it in GitHub Desktop.
Save alexgibson/a94db414ee93a7c58013 to your computer and use it in GitHub Desktop.
casper.test.begin('Firefox Sync, Firefox on Android: ' + url, 1, function suite(test) {
casper.userAgent('Mozilla/5.0 (Android 4.4; Mobile; rv:41.0) Gecko/41.0 Firefox/41.0');
casper.start();
casper.thenOpen(url, function() {
test.assertVisible('.primary .show-fx-android.instructions', 'Fx on Android instructions shown');
});
casper.run(function() {
test.done();
helpers.done();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment