Matterway
    Preparing search index...

    Function reloadPage

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

      Parameters

      • ctx: Context

        Context object.

      • Optionaloptions: GoToOptions

        Optional Puppeteer GoToOptions.

      Returns Promise<void>

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