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

    Function getCurrentHash

    • Returns the current URL hash (without leading '#').

      Parameters

      • page: NavigationPage

        Playwright Page (or compatible subset).

      Returns Promise<string>

      The current hash string.

      const hash = await getCurrentHash(page);
      // 'PurchaseOrder-manage'