How to find a label with some special characters #24883
Unanswered
SamuelPinho
asked this question in
Component Testing
Replies: 1 comment 3 replies
-
Are you sure there is text containing that string or is it the value? |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
I have an Input field that can have a label with any characters.
An example would be:
This is a custom label ~!@#$%^&*()_+=-[]{}\|:",./? UID
.I'm trying to find this label by doing something like this:
But this code is unable to locate the label giving me the following error:

What I'm trying to find: 'This is a custom label ~!@#$%^&*()+=-[]{}|:",./? UID'
What Cypress is trying to find: 'This is a custom label ~!@#$%^&()+='-[']{}|:",./? UID'
They both different and I'm not sure why
Beta Was this translation helpful? Give feedback.
All reactions