public class FluentDropdown
extends java.lang.Object
implements org.openqa.selenium.support.ui.ISelect
| Constructor and Description |
|---|
FluentDropdown(WebElementFacade webElementFacade) |
| Modifier and Type | Method and Description |
|---|---|
void |
byIndex(int index) |
void |
byValue(java.lang.String value) |
void |
byVisibleText(java.lang.String text) |
void |
deselectAll() |
void |
deselectByIndex(int index) |
void |
deselectByValue(java.lang.String value) |
void |
deselectByVisibleText(java.lang.String text) |
java.util.List<org.openqa.selenium.WebElement> |
getAllSelectedOptions() |
org.openqa.selenium.WebElement |
getFirstSelectedOption() |
java.util.List<org.openqa.selenium.WebElement> |
getOptions() |
boolean |
isMultiple() |
void |
selectByIndex(int index) |
void |
selectByValue(java.lang.String value) |
void |
selectByVisibleText(java.lang.String text) |
public FluentDropdown(WebElementFacade webElementFacade)
public boolean isMultiple()
isMultiple in interface org.openqa.selenium.support.ui.ISelectpublic java.util.List<org.openqa.selenium.WebElement> getOptions()
getOptions in interface org.openqa.selenium.support.ui.ISelectpublic java.util.List<org.openqa.selenium.WebElement> getAllSelectedOptions()
getAllSelectedOptions in interface org.openqa.selenium.support.ui.ISelectpublic org.openqa.selenium.WebElement getFirstSelectedOption()
getFirstSelectedOption in interface org.openqa.selenium.support.ui.ISelectpublic void selectByVisibleText(java.lang.String text)
selectByVisibleText in interface org.openqa.selenium.support.ui.ISelectpublic void byVisibleText(java.lang.String text)
public void selectByIndex(int index)
selectByIndex in interface org.openqa.selenium.support.ui.ISelectpublic void byIndex(int index)
public void selectByValue(java.lang.String value)
selectByValue in interface org.openqa.selenium.support.ui.ISelectpublic void byValue(java.lang.String value)
public void deselectAll()
deselectAll in interface org.openqa.selenium.support.ui.ISelectpublic void deselectByValue(java.lang.String value)
deselectByValue in interface org.openqa.selenium.support.ui.ISelectpublic void deselectByIndex(int index)
deselectByIndex in interface org.openqa.selenium.support.ui.ISelectpublic void deselectByVisibleText(java.lang.String text)
deselectByVisibleText in interface org.openqa.selenium.support.ui.ISelect