Skip to main content

Function: getFilterBar()

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

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

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.

Throws​

ControlError if no filter bar control is found.

Example​

const filterBarId = await getFilterBar(page);