Skip to main content
Version: 1.x

Function: navigateToSection()

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

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.

Capability​

fe.objectPage.navigateToSection

Throws​

NavigationError if the section is not found.

Example​

await navigateToSection(page, 'General Information');