Unable to use jQuery to retrieve DOM elements using Cypress.$ #31027
Unanswered
PeterNg2333
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I'm using Cypress.$ instead of cy.get() to retrieve DOM elements so I can easily implement if/else logic—since cy.get() stops the test if an element isn’t found. However, I'm running into an issue. Here's my demo:
Could you please take a look and help me resolve this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions