Package net.serenitybdd.core.pages
Class FluentDropdown
java.lang.Object
net.serenitybdd.core.pages.FluentDropdown
- All Implemented Interfaces:
org.openqa.selenium.support.ui.ISelect
- Direct Known Subclasses:
FluentDropdownDeselect,FluentDropdownSelect
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbyIndex(int index) voidvoidbyVisibleText(String text) voidvoiddeselectByIndex(int index) voiddeselectByValue(String value) voiddeselectByVisibleText(String text) List<org.openqa.selenium.WebElement>org.openqa.selenium.WebElementList<org.openqa.selenium.WebElement>booleanprotected org.openqa.selenium.support.ui.Selectselect()voidselectByIndex(int index) voidselectByValue(String value) voidselectByVisibleText(String text)
-
Constructor Details
-
FluentDropdown
-
-
Method Details
-
select
protected org.openqa.selenium.support.ui.Select select() -
isMultiple
public boolean isMultiple()- Specified by:
isMultiplein interfaceorg.openqa.selenium.support.ui.ISelect
-
getOptions
- Specified by:
getOptionsin interfaceorg.openqa.selenium.support.ui.ISelect
-
getAllSelectedOptions
- Specified by:
getAllSelectedOptionsin interfaceorg.openqa.selenium.support.ui.ISelect
-
getFirstSelectedOption
public org.openqa.selenium.WebElement getFirstSelectedOption()- Specified by:
getFirstSelectedOptionin interfaceorg.openqa.selenium.support.ui.ISelect
-
selectByVisibleText
- Specified by:
selectByVisibleTextin interfaceorg.openqa.selenium.support.ui.ISelect
-
byVisibleText
-
selectByIndex
public void selectByIndex(int index) - Specified by:
selectByIndexin interfaceorg.openqa.selenium.support.ui.ISelect
-
byIndex
public void byIndex(int index) -
selectByValue
- Specified by:
selectByValuein interfaceorg.openqa.selenium.support.ui.ISelect
-
byValue
-
deselectAll
public void deselectAll()- Specified by:
deselectAllin interfaceorg.openqa.selenium.support.ui.ISelect
-
deselectByValue
- Specified by:
deselectByValuein interfaceorg.openqa.selenium.support.ui.ISelect
-
deselectByIndex
public void deselectByIndex(int index) - Specified by:
deselectByIndexin interfaceorg.openqa.selenium.support.ui.ISelect
-
deselectByVisibleText
- Specified by:
deselectByVisibleTextin interfaceorg.openqa.selenium.support.ui.ISelect
-