Skip to main content
Version: 1.x

Function: navigateToSection()

navigateToSection(page, sectionIdentifier, options?): Promise<void>

Defined in: src/fe/object-page.ts:141

Navigates to a specific section within the Object Page by title or ID.

Parameters

page

ObjectPagePage

Page to evaluate on.

sectionIdentifier

string

Section title or ID.

options?

ObjectPageOptions

Optional timeout and stability settings.

Returns

Promise<void>

Intent

Scroll to and activate a specific section on the Object Page.

Throws

NavigationError if the section is not found.

Example

await navigateToSection(page, 'General Information');