Skip to main content
Version: 1.x

Function: getFilterBar()

getFilterBar(page, options?): Promise<string>

Defined in: src/fe/list-report.ts:138

Finds the filter bar on a List Report page (SmartFilterBar first, then MDC FilterBar).

Parameters

page

ListReportPage

Playwright Page (or compatible subset).

options?

ListReportOptions

Optional timeout settings.

Returns

Promise<string>

The control ID of the filter bar.

Intent

Discover the filter bar control on a Fiori Elements List Report page.

Throws

ControlError if no filter bar control is found.

Example

const filterBarId = await getFilterBar(page);