Skip to main content

Function: isDialogOpen()

isDialogOpen(page, dialogId): Promise<boolean>

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

Checks whether a specific dialog (by ID) is currently open.

Parameters​

page​

DialogPage

Playwright Page (or compatible subset).

dialogId​

string

The UI5 control ID of the dialog.

Returns​

Promise<boolean>

true if the dialog exists and is open, false otherwise.

Example​

const open = await isDialogOpen(page, 'confirmDialog');