Triggering Event in iFrame from Parent Window (data-cy) #14504
Answered
by
bahmutov
ATOPBIO
asked this question in
Questions and Help
-
Hello, I have a div in an iFrame: div data-v-5a92d3f2="" class="top" data-cy="toggle-images" I am trying to trigger trigger the div from a button in the Parent Window. Any ideas? Many thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
bahmutov
Jan 12, 2021
Replies: 1 comment
-
You would need to access the element as described in https://www.cypress.io/blog/2020/02/12/working-with-iframes-in-cypress/ blog post and call |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ATOPBIO
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You would need to access the element as described in https://www.cypress.io/blog/2020/02/12/working-with-iframes-in-cypress/ blog post and call
.trigger(...)