Function: getFilterBarFieldValue()
getFilterBarFieldValue(
page,filterBarId,fieldName):Promise<string>
Defined in: src/fe/list-report.ts:214
Gets the current value of a filter field on the filter bar.
Parameters
page
Playwright Page (or compatible subset).
filterBarId
string
The UI5 control ID of the filter bar.
fieldName
string
The name/key of the filter field.
Returns
Promise<string>
The current value of the filter field, or empty string if not set.
Intent
Read the current value of a filter field on the filter bar.
Example
const value = await getFilterBarFieldValue(page, 'app--filterBar', 'CompanyCode');