1 min readDec 23, 2018
Hey Avinash Gupta!
Yes, that is correct. You have to make sure the scripts inside the iframe use the same XMLHttpRequst
as the host page. The point is that Cypress is only replacing the XMLHttpRequest
in the host page and not in the iframe.
Additionally, try reading through the linked Github issue. I have learned a lot about how Cypress and iframes work in general. Hope it helps!