Function: getOpenDialogs()
getOpenDialogs(
page):Promise<readonlyDialogInfo[]>
Ai
Returns all currently open dialogs in the UI5 static UI area.
Parameters
page
DialogPage
Playwright Page (or compatible subset).
Returns
Promise<readonly DialogInfo[]>
Array of dialog information objects (may be empty).
Capability
ui5.dialog.getOpen
Intent
List all currently open dialogs for inspection or decision-making.
Guarantee
Returns an array of DialogInfo objects for all open dialogs (empty array if none).
Ai Context
Scans sap-ui-static UIArea content for recognized dialog types. Returns empty array if no dialogs are open.
Sap Module
sap.m.Dialog, sap.m.Popover, sap.m.BusyDialog, sap.ui.comp.valuehelpdialog.ValueHelpDialog
Business Context
Discover open dialog overlays for assertion or interaction.
Example
const dialogs = await getOpenDialogs(page);