Example usage for Java org.openqa.selenium.support.ui Select fields, constructors, methods, implement or subclass
The text is from its open source code.
Select(WebElement element) Constructor. |
void | deselectAll() Clear all selected entries. |
void | deselectByIndex(int index) Deselect the option at the given index. |
void | deselectByValue(String value) Deselect all options that have a value matching the argument. |
void | deselectByVisibleText(String text) Deselect all options that display text matching the argument. |
List | getAllSelectedOptions() |
WebElement | getFirstSelectedOption() |
List | getOptions() |
boolean | isMultiple() |
void | selectByIndex(int index) Select the option at the given index. |
void | selectByValue(String value) Select all options that have a value matching the argument. |
void | selectByVisibleText(String text) Select all options that display text matching the argument. |