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

    Function getDialogButtons

    • Returns all buttons within a dialog (beginButton, endButton, and buttons aggregation).

      Parameters

      • page: DialogPage

        Playwright Page (or compatible subset).

      • OptionaldialogId: string

        The UI5 control ID of the dialog. If omitted, uses the topmost open dialog.

      Returns Promise<readonly DialogButtonInfo[]>

      Array of button information objects.

      const buttons = await getDialogButtons(page, 'confirmDialog');