public class SelectWrapper
extends java.lang.Object
| Constructor and Description |
|---|
SelectWrapper(org.openqa.selenium.support.ui.Select select) |
| Modifier and Type | Method and Description |
|---|---|
SelectWrapper |
deselectAll() |
SelectWrapper |
deselectByIndex(int index) |
SelectWrapper |
deselectByValue(java.lang.String value) |
SelectWrapper |
deselectByVisibleText(java.lang.String text) |
java.util.List<WebElementWrapper> |
getAllSelectedOptions() |
WebElementWrapper |
getFirstSelectedOption() |
java.util.List<org.openqa.selenium.WebElement> |
getOptions() |
org.openqa.selenium.support.ui.Select |
getSelect() |
boolean |
isMultiple() |
SelectWrapper |
selectByIndex(int index) |
SelectWrapper |
selectByValue(java.lang.String value) |
SelectWrapper |
selectByVisibleText(java.lang.String text) |
public org.openqa.selenium.support.ui.Select getSelect()
public boolean isMultiple()
public java.util.List<org.openqa.selenium.WebElement> getOptions()
public java.util.List<WebElementWrapper> getAllSelectedOptions()
public WebElementWrapper getFirstSelectedOption()
public SelectWrapper selectByVisibleText(java.lang.String text)
public SelectWrapper selectByIndex(int index)
public SelectWrapper selectByValue(java.lang.String value)
public SelectWrapper deselectAll()
public SelectWrapper deselectByValue(java.lang.String value)
public SelectWrapper deselectByIndex(int index)
public SelectWrapper deselectByVisibleText(java.lang.String text)