|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
org.fluentlenium.core.domain.FluentList<E>
public class FluentList<E extends FluentWebElement>
Map the list to a FluentList in order to offers some events like click(), submit(), value() ...
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
FluentList(Collection<E> listFiltered)
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear all elements on the list Only the visible elements are filled |
FluentList |
clearAll()
Clear all elements on the list Only the visible elements are filled |
FluentList |
click()
Click on all elements on the list Only the visible elements are filled |
FluentList |
find(String name,
Filter... filters)
find elements into the childs with the corresponding filters |
E |
find(String name,
Integer number,
Filter... filters)
find elements into the childs with the corresponding filters at the position indicated by the number |
E |
findFirst(String name,
Filter... filters)
find elements into the childs with the corresponding filters at the first position |
E |
first()
Return the first element of the list If none, return NoSuchElementException |
String |
getAttribute(String attribute)
Return a custom attribute of the first element on the list |
List<String> |
getAttributes(String attribute)
Return a custom attribute of elements on the list |
String |
getId()
Return the id of the first element on the list |
List<String> |
getIds()
Return the id of elements on the list |
String |
getName()
Return the name of the first element on the list |
List<String> |
getNames()
Return the name of elements on the list |
String |
getText()
Return the text of the first element on the list |
List<String> |
getTexts()
Return the texts of list elements |
String |
getValue()
Return the value of the first element in the list |
List<String> |
getValues()
Return the value of elements on the list |
FluentList |
submit()
submit on all elements on the list Only the visible elements are submitted |
FluentList |
text(String... with)
Fill all elements on the list with the corresponding cell in the with table. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public FluentList(Collection<E> listFiltered)
| Method Detail |
|---|
public E first()
org.openqa.selenium.NoSuchElementExceptionpublic FluentList click()
click in interface FluentDefaultActions<FluentList>public FluentList text(String... with)
text in interface FluentDefaultActions<FluentList>public FluentList clearAll()
public void clear()
clear in interface Collection<E extends FluentWebElement>clear in interface List<E extends FluentWebElement>clear in class ArrayList<E extends FluentWebElement>public FluentList submit()
submit in interface FluentDefaultActions<FluentList>public List<String> getValues()
public List<String> getIds()
public List<String> getAttributes(String attribute)
public List<String> getNames()
public List<String> getTexts()
public String getValue()
public String getId()
public String getAttribute(String attribute)
public String getName()
public String getText()
public FluentList find(String name,
Filter... filters)
find in interface SearchActionsname - filters -
public E find(String name,
Integer number,
Filter... filters)
find in interface SearchActionsname - number - filters -
public E findFirst(String name,
Filter... filters)
findFirst in interface SearchActionsname - filters -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||