Skip to content

TabUtils

robo_appian.utils.components.TabUtils

TabUtils

Utility class for interacting with tab components in Appian UI.

Usage Example:

# Select a tab by its label
from robo_appian.utils.components.TabUtils import TabUtils
TabUtils.select_tab(wait, "Settings")

# Find the currently selected tab by its label
from robo_appian.utils.components.TabUtils import TabUtils
selected_tab = TabUtils.find_selected_tab(wait, "Settings")

find_selected_tab(wait, label) staticmethod

Finds the currently selected tab by its label.

wait: Selenium WebDriverWait instance. label: The visible text label of the tab.

Returns:

Type Description

The Selenium WebElement for the selected tab.

Example

TabUtils.find_selected_tab(wait, "Settings")

select_tab(wait, label) staticmethod

Selects a tab by its label.

Parameters:

Name Type Description Default
wait

Selenium WebDriverWait instance.

required
label

The visible text label of the tab to select.

required
Example

TabUtils.select_tab(wait, "Settings")