Function: getCellByColumnName()
getCellByColumnName(
page,tableId,rowIndex,columnName,options?):Promise<string>
Defined in: src/modules/table-operations.ts:151
Returns the cell text at a given row and column name.
Parameters
page
TableOperationsPage
Playwright Page (or compatible subset).
tableId
string
The UI5 control ID.
rowIndex
number
Zero-based row index.
columnName
string
Column header text.
options?
Table options.
Returns
Promise<string>
Cell text value.
Intent
Read a table cell value using a column header name instead of a numeric index.
Throws
ControlError if the column name is not found.
Example
const val = await getCellByColumnName(page, 'myTable', 0, 'Status');