Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    Preparing search index...

    Function waitForUI5Stable

    • Waits for SAP UI5 to report zero pending async operations.

      Parameters

      • page: WaitPage

        Playwright Page (or compatible subset).

      • Optionaloptions: WaitForUI5StableOptions

        Wait configuration options.

      Returns Promise<void>

      Uses page.waitForFunction() to poll sap.ui.getCore().getUIPending() === 0. When skipStabilityWait is true, falls back to briefDOMSettle instead.

      Timeout errors are wrapped in TimeoutError with code ERR_TIMEOUT_OPERATION.

      await waitForUI5Stable(page, { timeout: 10_000, polling: 200 });