-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Can't use "type" command within shadow DOM #1
Comments
HI @sangmai350 I believe the code you wrote is not quite correct as you're using regular cypress commands for lookup.
you can also try like
Please keep in mind if you have nested shadow elements, all of their selectors must appear in query for Also, it might happen that UPD: Alternative I thought about just letting cypress base commands to work not only with attached DOM elements, but that either may bring extra set of documentation about that or generally inconsistency (as not all the commands might be switched). |
@sangmai350 |
And regarding |
@all-contributors add @sangmai350 for bug |
I've put up a pull request to add @sangmai350! 🎉 |
Current behavior:
Desired behavior:
It should work
Steps to reproduce: (app code and test code)
***We have an iframe that contain shadow dom. And we want to get element inside that iframe to handle, but not working at current.
Versions
cypress: 3.3.1
The text was updated successfully, but these errors were encountered: