Cypress 12.8.1 not working with Stripe Elements iframe
The short answer is, the Stripe iframes take time to load and display the fields you need to access, so you need to add a retry. Usually you use .should() assertions to retry until something you want is present in the DOM. Unfortunately, with an <iframe> inside the page, you can’t use .should() because it … Read more