Testcafe: switchToIFrame doesn't support frame

Created on 23 Jun 2017  路  6Comments  路  Source: DevExpress/testcafe

Are you requesting a feature or reporting a bug?

I believe this is a bug but it could be viewed as a feature request. Depends on the intended original implementation.

What is the current behavior?

The web page I've attempting to manipulate has a frameset with three frames. I need to activate the middle one and am hence trying to use switchToIFrame such as this:

await t.switchToIframe(Selector('frame').nth(1))

I get an error stating"The action element is expected to be an