Ai
Dismisses (closes) the topmost dialog, or a dialog matching the given title.
Playwright Page (or compatible subset).
Optional
Options to target a specific dialog by title.
ui5.dialog.dismiss
Close the topmost open dialog without confirming its action.
On success, the dialog's close() method has been called and UI5 is stable.
Calls close() on the dialog control. Use for cancelling or dismissing. To confirm a dialog, use confirmDialog() instead.
sap.m.Dialog — close() method
Cancel or dismiss SAP dialog overlays (Cancel, Close, X button).
ControlError if no open dialog is found to dismiss.
await dismissDialog(page); Copy
await dismissDialog(page);
Dismisses (closes) the topmost dialog, or a dialog matching the given title.