E - type of element to fillpublic class FillSelect<E extends FluentWebElement> extends BaseFill<E>
| Constructor and Description |
|---|
FillSelect(E element)
Creates a new fill, from a single element.
|
FillSelect(FluentList<E> list)
Creates a new fill, from a list of element.
|
| Modifier and Type | Method and Description |
|---|---|
protected FluentList<E> |
getElements()
Get elements to fill
|
FillSelect |
withIndex(int index)
Select the option by its index for the Select element.
|
FillSelect |
withText(String text)
Select all options that display text matching the argument for the Select element.
|
FillSelect |
withValue(String value)
Select all options that have a value matching the argument for the Select element.
|
public FillSelect(FluentList<E> list)
list - list of element to fillpublic FillSelect(E element)
element - element to fillprotected FluentList<E> getElements()
BaseFillgetElements in class BaseFill<E extends FluentWebElement>public FillSelect withValue(String value)
value - the select matching stringpublic FillSelect withIndex(int index)
index - the select index valuepublic FillSelect withText(String text)
text - the select string partCopyright © 2016 FluentLenium. All Rights Reserved.