Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tommarshall/8844082 to your computer and use it in GitHub Desktop.
Save tommarshall/8844082 to your computer and use it in GitHub Desktop.
// tests/update-contact.js
auth_creds = require('./auth_creds.json');
module.exports = {
setUp : function(browser) {
browser
.url("http://example.com")
.waitForElementVisible("body", 1000)
.setValue("#Username", auth_creds.username)
.setValue("#Password", auth_creds.password)
.click("#loginSubmit");
},
"Step 1" : function (browser) {},
"Step 2" : function (browser) {}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment