Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    Preparing search index...

    Function waitForDialogClosed

    • Waits for a specific dialog to be closed.

      Parameters

      • page: DialogPage

        Playwright Page (or compatible subset).

      • dialogId: string

        The UI5 control ID of the dialog.

      • Optionaloptions: DialogOptions

        Timeout and polling options.

      Returns Promise<void>

      ControlError if the dialog is still open after the timeout.

      await waitForDialogClosed(page, 'confirmDialog');