Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 17, 2020 06:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save velotiotech/8e5735f1be067d39211566e08219e53d to your computer and use it in GitHub Desktop.
module.exports = {
elements: {
googleInputBox: '//input[@type="text"]',
searchButton: '(//input[@value="Google Search"])[2]',
headingText: `//h3[contains(text(),'Nightwatch.js')]`
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment