Skip to content

Instantly share code, notes, and snippets.

Created Jul 26, 2018
What would you like to do?
cy.get("#header > div > div > div:nth-child(2) > div > div.headButtons > div.header_button_float.logMenu > div > a.underLine")
// assert that the element's text matches a reg ex
.should(($txt) => {
const text = $txt.text()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment