LabelUtils
robo_appian.utils.components.LabelUtils
LabelUtils
Utility class for interacting with label components in Appian UI.
Usage Example:
# Find a label component
from robo_appian.utils.components.LabelUtils import LabelUtils
label_component = LabelUtils.find(wait, "Username")
find(wait, label)
staticmethod
Finds a label component by its text.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
wait
|
WebDriverWait
|
Selenium WebDriverWait instance. |
required |
label
|
str
|
The visible text label of the component. |
required |
Returns:
Type | Description |
---|---|
The Selenium WebElement for the label component. |
Example
LabelUtils.find(wait, "Username")