How do I confirm a javascript prompt in Cypress?

21 views Asked by At

enter image description here

** After I click on a button, this confirm window appears, but I didn't find anything that confirms this prompt**

Part of the code that opens the prompt:


 cy.get("iframe")
.its("0.contentDocument")
.its("body")
.find("#f_bln_assistencia_confirmar")
.click();
0

There are 0 answers