Ai
Returns the indices of selected rows.
Playwright Page (or compatible subset).
The UI5 control ID.
Optional
Table options.
ui5.table.getSelectedRows
Get the zero-based indices of all currently selected rows.
Returns an array of zero-based row indices that are currently selected (empty array if none).
Uses getSelectedIndices() for grid tables, getSelectedItems() for responsive tables.
sap.m.Table, sap.ui.table.Table — selection state query
Verify or capture which rows the user has selected for subsequent actions.
`const sel = await getSelectedRows(page, 'myTable');` Copy
`const sel = await getSelectedRows(page, 'myTable');`
Returns the indices of selected rows.