|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.seleniumhq.selenium.fluent.Internal.BaseFluentWebDriver
org.seleniumhq.selenium.fluent.Internal.BaseFluentWebElement
org.seleniumhq.selenium.fluent.FluentWebElement
org.seleniumhq.selenium.fluent.FluentSelect
public class FluentSelect
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.seleniumhq.selenium.fluent.FluentWebElement |
|---|
FluentWebElement.NegatingFluentWebElement |
| Nested classes/interfaces inherited from class org.seleniumhq.selenium.fluent.Internal.BaseFluentWebDriver |
|---|
Internal.BaseFluentWebDriver.MultipleResult, Internal.BaseFluentWebDriver.SingleResult |
| Field Summary |
|---|
| Fields inherited from class org.seleniumhq.selenium.fluent.FluentWebElement |
|---|
currentElement |
| Fields inherited from class org.seleniumhq.selenium.fluent.Internal.BaseFluentWebDriver |
|---|
booleanInsteadOfNotFoundException, context, delegate, monitor |
| Constructor Summary | |
|---|---|
protected |
FluentSelect(org.openqa.selenium.WebDriver delegate,
org.openqa.selenium.support.ui.Select currentSelect,
org.openqa.selenium.WebElement currentElement,
Context context,
Monitor monitor,
boolean booleanInsteadOfNoSuchElement)
|
protected |
FluentSelect(org.openqa.selenium.WebDriver delegate,
org.openqa.selenium.WebElement currentElement,
Context context,
Monitor monitor,
boolean booleanInsteadOfNoSuchElement)
|
| Method Summary | |
|---|---|
FluentSelect |
deselectAll()
Clear all selected entries. |
FluentSelect |
deselectByIndex(int index)
Deselect the option at the given index. |
FluentSelect |
deselectByValue(String value)
Deselect all options that have a value matching the argument. |
FluentSelect |
deselectByVisibleText(String text)
Deselect all options that display text matching the argument. |
List<org.openqa.selenium.WebElement> |
getAllSelectedOptions()
|
org.openqa.selenium.WebElement |
getFirstSelectedOption()
|
List<org.openqa.selenium.WebElement> |
getOptions()
|
protected org.openqa.selenium.support.ui.Select |
getSelect()
|
FluentSelect |
ifInvisibleWaitUpTo(Period period)
|
boolean |
isMultiple()
|
FluentSelect |
selectByIndex(int index)
Select the option at the given index. |
FluentSelect |
selectByValue(String value)
Select all options that have a value matching the argument. |
FluentSelect |
selectByVisibleText(String text)
Select all options that display text matching the argument. |
FluentSelect |
within(Period period)
|
| Methods inherited from class org.seleniumhq.selenium.fluent.Internal.BaseFluentWebElement |
|---|
charSeqArrayAsHumanString, makeFluentWebElements |
| Methods inherited from class org.seleniumhq.selenium.fluent.Internal.BaseFluentWebDriver |
|---|
assertTagIs, beforeFindElement, changeTimeout, executeAndWrapReThrowIfNeeded, fixupBy, getPeriod, newFluentWebElement, newFluentWebElements, resetTimeout, retryingFindIt, retryingFindThem, select, select, selects, selects, title, ul, ul, uls, uls, url, wrapAssertionError, wrapRuntimeException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FluentSelect(org.openqa.selenium.WebDriver delegate,
org.openqa.selenium.WebElement currentElement,
Context context,
Monitor monitor,
boolean booleanInsteadOfNoSuchElement)
protected FluentSelect(org.openqa.selenium.WebDriver delegate,
org.openqa.selenium.support.ui.Select currentSelect,
org.openqa.selenium.WebElement currentElement,
Context context,
Monitor monitor,
boolean booleanInsteadOfNoSuchElement)
| Method Detail |
|---|
public FluentSelect ifInvisibleWaitUpTo(Period period)
ifInvisibleWaitUpTo in class FluentWebElementpublic boolean isMultiple()
public List<org.openqa.selenium.WebElement> getOptions()
public List<org.openqa.selenium.WebElement> getAllSelectedOptions()
public org.openqa.selenium.WebElement getFirstSelectedOption()
public FluentSelect selectByVisibleText(String text)
text - The visible text to match againstpublic FluentSelect selectByIndex(int index)
index - The option at this index will be selectedpublic FluentSelect selectByValue(String value)
value - The value to match againstpublic FluentSelect deselectAll()
UnsupportedOperationException - If the SELECT does not support multiple selectionspublic FluentSelect deselectByValue(String value)
value - The value to match againstpublic FluentSelect deselectByIndex(int index)
index - The option at this index will be deselectedpublic FluentSelect deselectByVisibleText(String text)
text - The visible text to match againstprotected org.openqa.selenium.support.ui.Select getSelect()
public FluentSelect within(Period period)
within in class FluentWebElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||