Selects a nested iframe, and returns its scoped Context.
The Context to scope the selection.
Selectors to each nested iframe element.
A new Context scoped from the innermost selected iframe.
const iframeCtx = await getNestedFrame(ctx, ['iframe#top-frame','iframe#nested-frame']);await click(iframeCtx, 'button#submit'); Copy
const iframeCtx = await getNestedFrame(ctx, ['iframe#top-frame','iframe#nested-frame']);await click(iframeCtx, 'button#submit');
use getFrame instead.
getFrame
Selects a nested iframe, and returns its scoped Context.