Tab
flaui.core.automation_elements.Tab
Bases: AutomationElement
Class to interact with a tab element.
selected_tab_item_index
property
The index of the currently selected TabItem
Returns:
| Type | Description |
|---|---|
int
|
Selected index |
tab_items
property
select_tab_item(index=None, value=None, post_wait=None)
Selects a TabItem by index
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
Optional[int]
|
Selects by index value |
None
|
value
|
Optional[str]
|
Selects by tab value |
None
|
post_wait
|
Optional[Union[bool, float, Callable[[], None]]]
|
Optional wait after operation. True=100ms, float=custom seconds, callable=custom function |
None
|