Praman — Agent-First SAP UI5 Test Automation Plugin - v1.2.0
    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>

      ui5.waitForUI5

      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 });