Function reloadPage

  • Reloads the current page in the given browser tab. Waits until domcontentloaded by default

    Parameters

    • ctx: Context

      Context object.

    • Optional options: WaitForOptions

      Optional Puppeteer options for waiting.

    Returns Promise<void>

    Example

    // Reloads the page and waits until the DOM content is loaded.
    await reloadPage(ctx);

Generated using TypeDoc