Комментарии:
This was a big help. Thank you.
ОтветитьIs there a way to use find to get access to the class?
ОтветитьIt almost worked for me, I needed to add one more line to make sure that the iframe isn't empty
.its('0.contentDocument.body')
.should('not.be.empty')
...
document.querySelectorAll('iframe')[1].contentDocument.body
It says that my 2 iframes have a null content :')
I can't understand
Can you please help me how to use xpath for iframes in cypress?
ОтветитьHi dear friend,I would like to know if it is possible to access the third party iframe when it is already in production
Ответитьthank you so much for this!
Ответить