For the complete documentation index, see llms.txt. This page is also available as Markdown.

Switch Frame

Move the Test Case focus into an iframe Element.

Switch frame moves focus into an iframe so later steps act inside that frame. Use it before Touch, Set value, or Checks that target content inside the iframe.

Switch frame Test Step

When to use it

  • Enter an embedded payment, consent, or editor iframe before interacting with it.

  • Return with Switch to parent frame when the journey continues on the main page.

Example Flow

Switch into the iframe, interact, then return to the parent frame.

Switch frame, Touch, Switch to parent frame

Configure

Basics

Field
What to set

Element

The iframe Element

Pro tip: Create the iframe Element from the Switch frame step so the Selector stays tied to the frame you enter.

Tags: action, switch, frame, iframe, inner, child

Last updated