Ai
Returns the current URL hash (without leading '#').
Playwright Page (or compatible subset).
The current hash string.
ui5Navigation.getCurrentHash
Read the current FLP navigation hash to determine which app is active.
Returns the current hash string without the leading '#'.
Pure read operation (no stability wait). Use for assertions or conditional navigation.
sap.ushell.Container — Read current FLP hash from window.location.hash
Determine the current active SAP Fiori app from the URL hash.
const hash = await getCurrentHash(page);// 'PurchaseOrder-manage' Copy
const hash = await getCurrentHash(page);// 'PurchaseOrder-manage'
Returns the current URL hash (without leading '#').