lundi 17 août 2020

How to traverse a nested frame tree by its hierarchy in TestCafe?

Switching into a nested iframe is no problem since you can

  1. switch from the main context into a target frame
  2. switch from the target frame into its child frame

But what if you want to switch from the child frame into its parent? Is there a way to do it without knowing the exact selector?

What I'm looking for is a way similar to how this is accomplished in Selenium - where you can simply tell the driver (e.g., the TestController) to switch to the parent frame. But such a thing doesn't seem to exist in TestCafe.

Aucun commentaire:

Enregistrer un commentaire