Function: getColumnNames()
getColumnNames(
page,tableId):Promise<readonlystring[]>
Defined in: src/modules/table-operations.ts:82
Returns the column header names from a UI5 table.
Parameters​
page​
TableOperationsPage
Playwright Page (or compatible subset).
tableId​
string
The UI5 control ID.
Returns​
Promise<readonly string[]>
Ordered array of column header texts.
Example​
const cols = await getColumnNames(page, 'myTable');
// ['Name', 'Status', 'Amount']