Function selectNestedFrame

  • Selects a nested IFrame, and returns its scoped Context.

    Parameters

    • ctx: Context

      The Context to scope the selection.

    • selectors: string[]

      Selectors to each nested IFrame element.

    Returns Promise<Context>

    A new Context scoped from the innermost selected IFrame.

    Example

    const iframeCtx = await selectNestedFrame(ctx, ['iframe#top-frame','iframe#nested-frame']);
    await click(iframeCtx, 'button#submit');

Generated using TypeDoc