Skip to main content
Version: 1.x

Function: getOpenDialogs()

getOpenDialogs(page): Promise<readonly DialogInfo[]>

Defined in: src/modules/dialog.ts:260

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).

Intent

List all currently open dialogs for inspection or decision-making.

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