Skip to main content
Version: 1.x

Function: getHeaderTitle()

getHeaderTitle(page): Promise<string>

Returns the header title of the Object Page.

Parameters

page

ObjectPagePage

Page to evaluate on.

Returns

Promise<string>

The header title string, or empty string if not found.

Intent

Read the Object Page header title for assertion or identification.

Capability

fe.objectPage.getHeaderTitle

Example

const title = await getHeaderTitle(page);