How do i access to link "About Us" inside an IFrame #27047
Unanswered
Lmori07
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
Been trying to access link "About Us" that is within an iframe, here is how i have been handling
it('About Us Link', () => { cy.visit('https://www.tutorialspoint.com/html/html_iframes.htm') cy.get('#banner-accept').click({force: true}) cy.pause() cy.frameLoaded('.result') const iframe2 = cy.iframe('.result').should('be.visible').then(cy.wrap) cy.pause() iframe2.find('#banner-accept').click() })
Beta Was this translation helpful? Give feedback.
All reactions