Skip to main content
Version: 1.x

Function: clickRow()

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

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>

Capability​

ui5.table.clickRow

Intent​

Trigger a press/tap event on a specific table row for navigation or selection.

Throws​

ControlError if the row cannot be clicked.

Example​

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