I am getting below error when performing action on a element in a iframe:
"Timed out retrying after 60000ms: expected '
' to be 'visible' This element
is not visible because it has an effective width and height of: 0 x 0 pixels."
Here is my code for the element:
cy.get('iframeselector',{timeout: 150000})
.its('0.contentDocument.body').should('not.be.empty')
.then(cy.wrap).find('p').should('be.visible').clear().type('abc')
I have tried using {force:true} and even changing the width by invoke method. but nothing works for me so far. Any help will be appreciated.

