Skip to main content

Function: ensureRowVisible()

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

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

Ensures a table row is visible by scrolling if needed (grid tables only).

Parameters​

page​

TableOperationsPage

Playwright Page (or compatible subset).

tableId​

string

The UI5 control ID.

rowIndex​

number

Zero-based row index.

Returns​

Promise<void>

Remarks​

For responsive tables this is a no-op since they auto-scroll.

Example​

await ensureRowVisible(page, 'gridTable', 50);