public class HeadOfCollection extends java.lang.Object implements CollectionSource
| Constructor and Description |
|---|
HeadOfCollection(CollectionSource originalCollection,
int size) |
| 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 HeadOfCollection(CollectionSource originalCollection, int size)
public Driver driver()
driver in interface CollectionSourcepublic java.util.List<WebElement> getElements()
CollectionSourcegetElements in interface CollectionSourcepublic WebElement getElement(int index)
CollectionSourcegetElement in interface CollectionSourcepublic java.lang.String description()
description in interface CollectionSource