wpf_select_item
Selects an item in a ComboBox, ListBox, ListView, or TabControl by visible text (case-insensitive substring) or zero-based index. Works with virtualized items and raises proper selection events.
Instructions
Select an item in a ComboBox, ListBox, ListView or TabControl by visible text (item_text, case-insensitive substring) or zero-based index. PREFER this over clicking for dropdowns/lists: it works even when items are virtualized (not yet in the visual tree) and raises proper selection events. On failure the error lists the available items. STATE-CHANGING.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| item_text | No | ||
| element_handle | Yes |