Checks whether a specific dialog (by ID) is currently open.
Playwright Page (or compatible subset).
The UI5 control ID of the dialog.
true if the dialog exists and is open, false otherwise.
true
false
const open = await isDialogOpen(page, 'confirmDialog'); Copy
const open = await isDialogOpen(page, 'confirmDialog');
Checks whether a specific dialog (by ID) is currently open.