Returns the current URL hash (without leading '#').
Playwright Page (or compatible subset).
The current hash string.
const hash = await getCurrentHash(page);// 'PurchaseOrder-manage' Copy
const hash = await getCurrentHash(page);// 'PurchaseOrder-manage'
Returns the current URL hash (without leading '#').