Function goBack

  • Goes back to the previous page in the browser tab. Waits until domcontentloaded by default

    Parameters

    • ctx: Context

      Context object.

    • Optional options: WaitForOptions

      Optional Puppeteer options for waiting.

    Returns Promise<void>

    Example

    // Goes back and waits until the network is idle.
    await goBack(ctx, { waitUntil: 'networkidle0' });

Generated using TypeDoc