Finds an element inside a specific iframe and sets it as the active element.
This is the robust way to interact with iframe content (e.g., Stripe forms, embedded videos).
Parameters
page: any
elementSelectorKey: string
The key of the element selector in the fixtures or a raw CSS selector.
frameSelectorKey: string
The key of the iframe selector in the fixtures or a raw CSS selector.
Finds an element inside a specific iframe and sets it as the active element. This is the robust way to interact with iframe content (e.g., Stripe forms, embedded videos).