Function: navigateToHash()
navigateToHash(
page,hash,options?):Promise<void>
Defined in: src/modules/navigation.ts:211
Navigates to a specific hash directly.
Parameters​
page​
NavigationPage
Playwright Page (or compatible subset).
hash​
string
The hash to navigate to (without leading '#').
options?​
Navigation options.
Returns​
Promise<void>
Example​
await navigateToHash(page, 'Shell-home');