Function: navigateToIntent()
navigateToIntent(
page,intent,params?,options?):Promise<void>
Defined in: src/modules/navigation.ts:183
Navigates to an SAP intent with optional parameters.
Parameters​
page​
NavigationPage
Playwright Page (or compatible subset).
intent​
NavigationIntent
Semantic object and action descriptor.
params?​
Readonly<Record<string, string>>
Optional query parameters for the intent.
options?​
Navigation options.
Returns​
Promise<void>
Example​
await navigateToIntent(page, { semanticObject: 'PurchaseOrder', action: 'manage' });