Returns the column header names from a UI5 table.
Playwright Page (or compatible subset).
The UI5 control ID.
Ordered array of column header texts.
const cols = await getColumnNames(page, 'myTable');// ['Name', 'Status', 'Amount'] Copy
const cols = await getColumnNames(page, 'myTable');// ['Name', 'Status', 'Amount']
Returns the column header names from a UI5 table.