jeudi 28 mai 2020

Can I use an embedded iframe?

I have a complex page structure with an iframe (#dialogFrameContent) embbed in another iframe (#migration-iframe).

I'm using await t.switchToIframe('#dialogFrameContent') but I have the following error :

The specified selector does not match any element in the DOM tree.

         | Selector('#dialogFrameContent')

Is this kind of structure usable with testcafe?

Aucun commentaire:

Enregistrer un commentaire