Skip to main content
Version: 1.x

Function: navigateToHash()

navigateToHash(page, hash, options?): Promise<void>

Defined in: src/modules/navigation.ts:265

Ai

Navigates to a specific hash directly.

Parameters

page

NavigationPage

Playwright Page (or compatible subset).

hash

string

The hash to navigate to (without leading '#').

options?

NavigationOptions

Navigation options.

Returns

Promise<void>

Intent

Set the FLP URL hash directly for low-level navigation.

Ai Context

Use when the full hash is known. For structured navigation, prefer navigateToIntent().

Sap Module

sap.ushell.Container — Direct hash manipulation via window.hasher

Example

await navigateToHash(page, 'Shell-home');