public final class OptionLocatorFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static OptionIdLocator |
optionId(String id)
Locates the select option with specified id.
|
static OptionIndexLocator |
optionIndex(int index)
Locates the select option based on its index (offset from zero).
|
static OptionLabelLocator |
optionLabel(String label)
Locates select options based on their labels, i.e.
|
static OptionValueLocator |
optionValue(String value)
Locates select options based on their values.
|
public static OptionIdLocator optionId(String id)
id - the id of select optionpublic static OptionIndexLocator optionIndex(int index)
index - the index of select option (offset from zero)public static OptionLabelLocator optionLabel(String label)
Locates select options based on their labels, i.e. the visible text.
Can be regular expression: "regexp:^[Oo]ther"
label - the label for the select options (visible text).public static OptionValueLocator optionValue(String value)
value - the value matching select optionsCopyright © 2013 JBoss by Red Hat. All Rights Reserved.