Skip to main content
Version: 1.x

Function: navigateToItem()

navigateToItem(page, tableId, rowIndex, options?): Promise<void>

Defined in: src/fe/list-report.ts:310

Navigates to a table item by row index. Fires press/tap on the row.

Parameters

page

ListReportPage

Playwright Page (or compatible subset).

tableId

string

The UI5 control ID of the table.

rowIndex

number

Zero-based row index to navigate to.

options?

ListReportOptions

Optional timeout and stability settings.

Returns

Promise<void>

Intent

Navigate from the List Report to an Object Page by clicking a table row.

Throws

ControlError if the table is not found or the index is out of bounds.

Example

await navigateToItem(page, 'app--table', 0);