Skip to content

Instantly share code, notes, and snippets.

@christian-bromann
Created November 12, 2014 00:41
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 christian-bromann/57a476bf4d663c22b6c3 to your computer and use it in GitHub Desktop.
Save christian-bromann/57a476bf4d663c22b6c3 to your computer and use it in GitHub Desktop.
new syntactic sugar for WebdriverIO commands
describe(function() {
it('should login', function() {
"#inputUsername".setValue('userA');
"#inputPassword".setValue('*****');
".submit".click();
return browser.getTitle().should.be.equal('Welcome userA');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment