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

    Function confirmAndWait

    • Clicks the confirmation button (OK or Confirm) then waits for UI5 to stabilise.

      Parameters

      Returns Promise<IntentResult<void>>

      An IntentResult<void> describing the outcome.

      Attempts to click OK first; falls back to Confirm if the first click throws. Always calls waitForUI5 after the confirmation click.

      Confirm a dialog or message box and wait for the UI to settle.

      Handles both SAP standard 'OK' and custom 'Confirm' button labels.

      import { confirmAndWait } from '#intents/core-wrappers.js';

      await confirmAndWait(ui5);