Selects or deselects a list item at the specified index.
Playwright Page (or compatible subset).
The UI5 control ID of the list.
Zero-based index of the item to select.
true to select, false to deselect.
true
false
Calls setSelected(selected) on the list item and fires selectionChange on the list.
setSelected(selected)
selectionChange
ControlError with ERR_CONTROL_AGGREGATION if the index is invalid.
ERR_CONTROL_AGGREGATION
await feSelectListItem(page, 'myApp--productList', 0, true); Copy
await feSelectListItem(page, 'myApp--productList', 0, true);
Selects or deselects a list item at the specified index.