Skip to main content

Function: waitForDialog()

waitForDialog(page, options?): Promise<DialogInfo>

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

Waits for a dialog to appear in the UI5 static UI area.

Parameters​

page​

DialogPage

Playwright Page (or compatible subset).

options?​

FindDialogOptions

Options to filter by title or control type.

Returns​

Promise<DialogInfo>

Information about the discovered dialog.

Throws​

ControlError if no matching dialog appears within the timeout.

Example​

const info = await waitForDialog(page, { title: 'Confirm Delete' });