Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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