Function: waitForUI5Stable()
waitForUI5Stable(
page,options?):Promise<void>
Waits for SAP UI5 to report zero pending async operations.
Parameters
page
WaitPage
Playwright Page (or compatible subset).
options?
WaitForUI5StableOptions
Wait configuration options.
Returns
Promise<void>
Capability
ui5.waitForUI5
Remarks
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.
Example
await waitForUI5Stable(page, { timeout: 10_000, polling: 200 });