Cant select especific element with one class #14412
Unanswered
LuyTester
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
-
Currently, I have a calendar, all days had class ".day" but only de old once, have class ".day.old.disabled"
When I try to click on the cy.get(.day).contains("8").click() it clicks in the "28" that has class ".day.old.disabled" and that is not exclusive 8 it is a 28. I understand that when you what to add a class with more classes you can use * but not know if this is an issue or I'm missing something.-
How should I do it to avoid go first to the disabled.old ones?
Beta Was this translation helpful? Give feedback.
All reactions