StrikekitStrikekit

in

Nested element scope stack for cards, sections, and regions

Push a nested element scope so following steps resolve inside a labeled region. Separate from iframe scope.

Syntax

When I in "<region>"
When I in ".."
When I in "page"

Forms

FormEffect
in "<region>"Push: find a unique visible container under the current root, then nest
in ".."Pop one level — fails if already at root
in "page"Clear the entire element stack (iframe scope unchanged)

Examples

When I in "products"
When I in "Laptop"
When I fill "note" with "gift"
When I click on "Delete"
When I in ".."
When I in "page"

One-shot click inside a container without changing the stack:

When I click on "Delete" in "Laptop"

Notes

  • Containers resolve by id / aria-label / data-testid / container strategies.
  • Nested in "outer" then in "inner" narrows under the current root.
  • Cleared at each Scenario: / Feature: boundary.
  • Element in does not affect bare should see text search the way iframe scope does.

On this page