Gets all column header names from a UI5 table control.
Playwright Page (or compatible subset).
The UI5 control ID of the table.
A readonly array of column header strings.
For responsive tables, reads getHeader().getText() on each column. For grid tables, reads getLabel().getText() or stringifies the label.
getHeader().getText()
getLabel().getText()
ControlError if the table control is not found.
const columns = await feGetColumnNames(page, 'myApp--productTable');// ['Product', 'Status', 'Price'] Copy
const columns = await feGetColumnNames(page, 'myApp--productTable');// ['Product', 'Status', 'Price']
Gets all column header names from a UI5 table control.