public interface Select extends Element
| Modifier and Type | Method and Description |
|---|---|
void |
deselectAll()
Wraps Selenium's method.
|
void |
deselectByIndex(int index)
Wraps Selenium's method.
|
void |
deselectByValue(java.lang.String value)
Wraps Selenium's method.
|
void |
deselectByVisibleText(java.lang.String text)
Wraps Selenium's method.
|
java.util.List<org.openqa.selenium.WebElement> |
getAllSelectedOptions()
Wraps Selenium's method.
|
org.openqa.selenium.WebElement |
getFirstSelectedOption()
Wraps Selenium's method.
|
java.util.List<org.openqa.selenium.WebElement> |
getOptions()
Wraps Selenium's method.
|
boolean |
isMultiple()
Wraps Selenium's method.
|
void |
selectByIndex(int index)
Wraps Selenium's method.
|
void |
selectByValue(java.lang.String value)
Wraps Selenium's method.
|
void |
selectByVisibleText(java.lang.String text)
Wraps Selenium's method.
|
elementWiredboolean isMultiple()
Select.isMultiple()void deselectByIndex(int index)
index - index to selectSelect.deselectByIndex(int)void selectByValue(java.lang.String value)
value - the value to select.Select.selectByValue(String)org.openqa.selenium.WebElement getFirstSelectedOption()
Select.getFirstSelectedOption()void selectByVisibleText(java.lang.String text)
text - visible text to selectSelect.selectByVisibleText(String)void deselectByValue(java.lang.String value)
value - value to deselectSelect.deselectByValue(String)void deselectAll()
Select.deselectAll()java.util.List<org.openqa.selenium.WebElement> getAllSelectedOptions()
Select.getAllSelectedOptions()java.util.List<org.openqa.selenium.WebElement> getOptions()
Select.getOptions()void deselectByVisibleText(java.lang.String text)
text - text to deselect by visible textSelect.deselectByVisibleText(String)void selectByIndex(int index)
index - index to selectSelect.selectByIndex(int)Copyright © 2017 PPI AG. All rights reserved.