public class FluentDropdown extends 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(String value) |
void |
byVisibleText(String text) |
void |
deselectAll() |
void |
deselectByIndex(int index) |
void |
deselectByValue(String value) |
void |
deselectByVisibleText(String text) |
List<org.openqa.selenium.WebElement> |
getAllSelectedOptions() |
org.openqa.selenium.WebElement |
getFirstSelectedOption() |
List<org.openqa.selenium.WebElement> |
getOptions() |
boolean |
isMultiple() |
protected org.openqa.selenium.support.ui.Select |
select() |
void |
selectByIndex(int index) |
void |
selectByValue(String value) |
void |
selectByVisibleText(String text) |
public FluentDropdown(WebElementFacade webElementFacade)
protected org.openqa.selenium.support.ui.Select select()
public boolean isMultiple()
isMultiple in interface org.openqa.selenium.support.ui.ISelectpublic List<org.openqa.selenium.WebElement> getOptions()
getOptions in interface org.openqa.selenium.support.ui.ISelectpublic 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(String text)
selectByVisibleText in interface org.openqa.selenium.support.ui.ISelectpublic void byVisibleText(String text)
public void selectByIndex(int index)
selectByIndex in interface org.openqa.selenium.support.ui.ISelectpublic void byIndex(int index)
public void selectByValue(String value)
selectByValue in interface org.openqa.selenium.support.ui.ISelectpublic void byValue(String value)
public void deselectAll()
deselectAll in interface org.openqa.selenium.support.ui.ISelectpublic void deselectByValue(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(String text)
deselectByVisibleText in interface org.openqa.selenium.support.ui.ISelectCopyright © 2021. All rights reserved.