Function checkLoadingSpinner

Checks for the presence and subsequent hiding of a loading spinner element

  • Parameters

    • page: Page

      The Playwright Page object

    • timeout: number = 29000

      Maximum time in ms to wait for spinner to hide (defaults to 29000)

    Returns Promise<void>

    Promise that resolves when spinner is hidden