Ai
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
ui5.dialog.isOpen
Check if a known dialog is currently open, by its UI5 control ID.
Returns true if the dialog is open, false otherwise (including when control not found).
Calls isOpen() on the control. Returns false if the control is not found or not open.
sap.m.Dialog — isOpen() check
Assert that a dialog has opened or closed after an action.
const open = await isDialogOpen(page, 'confirmDialog'); Copy
const open = await isDialogOpen(page, 'confirmDialog');
Checks whether a specific dialog (by ID) is currently open.