Function waitForAll

  • Waits for all selectors to become present.

    Parameters

    • ctx: Context

      Context object.

    • selectors: string[]

      The list of selectors to wait for.

    • Optional options: WaitForSelectorOptions

      Wait for selector options, options are passed to each selector.

    Returns Promise<void>

    Example

    async function step(ctx: Context) {
    await waitForAll(ctx, [selector1, selector2]);
    }

Generated using TypeDoc