Skip to main content

Function: clickRow()

clickRow(page, tableId, rowIndex): Promise<void>

Defined in: src/modules/table-operations.ts:174

Clicks (presses) a table row by index.

Parameters​

page​

TableOperationsPage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

rowIndex​

number

Zero-based row index.

Returns​

Promise<void>

Throws​

ControlError if the row cannot be clicked.

Example​

await clickRow(page, 'myTable', 2);