Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
browser
.setValue('input[placeholder=E-mail]', email)
.setValue('input[placeholder=Password]', password)
.useXpath()
.click("//*[text()='Login']")
.pause(200)
.expect.element("//*[text()='John Doe']").to.be.present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment