public class AemDropdown extends Object implements Configurable
| Constructor and Description |
|---|
AemDropdown() |
| Modifier and Type | Method and Description |
|---|---|
AemDropdown |
selectByIndex(int index)
Clicks the item in the dropdown list.
|
AemDropdown |
selectByPartialText(String text)
Opens the dropdown and clicks the item that contains the provided text.
|
AemDropdown |
selectByText(String text)
Opens the dropdown and clicks the item that has text equal to the provided parameter.
|
void |
setValue(String value)
Sets the value in AemElement.
|
public AemDropdown selectByIndex(int index)
index - starts from 0public AemDropdown selectByText(String text)
text - text for the option labelpublic AemDropdown selectByPartialText(String text)
text - text that is contained by option labelpublic void setValue(String value)
ConfigurablesetValue in interface Configurablevalue - configuration value to be setCopyright © 2016–2018 Cognifide Ltd.. All rights reserved.