Skip to content
Discussion options

You must be logged in to vote

Yeah, get it, and what about

cy.get("button:contains('Cancel')").filter(':visible')

In this case, button:contains('Cancel') should yeld both elements.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mistic100
Comment options

@michallbanas
Comment options

Answer selected by mistic100
@mistic100
Comment options

@michallbanas
Comment options

@mistic100
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants