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.ISelect
public List<org.openqa.selenium.WebElement> getOptions()
getOptions
in interface org.openqa.selenium.support.ui.ISelect
public List<org.openqa.selenium.WebElement> getAllSelectedOptions()
getAllSelectedOptions
in interface org.openqa.selenium.support.ui.ISelect
public org.openqa.selenium.WebElement getFirstSelectedOption()
getFirstSelectedOption
in interface org.openqa.selenium.support.ui.ISelect
public void selectByVisibleText(String text)
selectByVisibleText
in interface org.openqa.selenium.support.ui.ISelect
public void byVisibleText(String text)
public void selectByIndex(int index)
selectByIndex
in interface org.openqa.selenium.support.ui.ISelect
public void byIndex(int index)
public void selectByValue(String value)
selectByValue
in interface org.openqa.selenium.support.ui.ISelect
public void byValue(String value)
public void deselectAll()
deselectAll
in interface org.openqa.selenium.support.ui.ISelect
public void deselectByValue(String value)
deselectByValue
in interface org.openqa.selenium.support.ui.ISelect
public void deselectByIndex(int index)
deselectByIndex
in interface org.openqa.selenium.support.ui.ISelect
public void deselectByVisibleText(String text)
deselectByVisibleText
in interface org.openqa.selenium.support.ui.ISelect
Copyright © 2021. All rights reserved.