Function: getCurrentHash()
getCurrentHash(
page):Promise<string>
Defined in: src/modules/navigation.ts:313
Returns the current URL hash (without leading '#').
Parameters​
page​
NavigationPage
Playwright Page (or compatible subset).
Returns​
Promise<string>
The current hash string.
Example​
const hash = await getCurrentHash(page);
// 'PurchaseOrder-manage'