public class FilteringCollection extends java.lang.Object implements CollectionSource
| Constructor and Description |
|---|
FilteringCollection(CollectionSource originalCollection,
Condition filter) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
description() |
Driver |
driver() |
WebElement |
getElement(int index)
get Nth element of this collection
|
java.util.List<WebElement> |
getElements()
get elements of this collection (probably cached).
|
public FilteringCollection(CollectionSource originalCollection, Condition filter)
public java.util.List<WebElement> getElements()
CollectionSourcegetElements in interface CollectionSourcepublic WebElement getElement(int index)
CollectionSourcegetElement in interface CollectionSourcepublic java.lang.String description()
description in interface CollectionSourcepublic Driver driver()
driver in interface CollectionSource