Function: feGetColumnNames()
feGetColumnNames(
page,tableId):Promise<readonlystring[]>
Defined in: src/fe/fe-table-helpers.ts:354
Gets all column header names from a UI5 table control.
Parameters​
page​
Playwright Page (or compatible subset).
tableId​
string
The UI5 control ID of the table.
Returns​
Promise<readonly string[]>
A readonly array of column header strings.
Remarks​
For responsive tables, reads getHeader().getText() on each column.
For grid tables, reads getLabel().getText() or stringifies the label.
Throws​
ControlError if the table control is not found.
Example​
const columns = await feGetColumnNames(page, 'myApp--productTable');
// ['Product', 'Status', 'Price']