public class WebElementsCollectionWrapper extends java.lang.Object implements CollectionSource
| Constructor and Description |
|---|
WebElementsCollectionWrapper(Driver driver,
java.util.Collection<? extends WebElement> elements) |
| 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 WebElementsCollectionWrapper(Driver driver, java.util.Collection<? extends WebElement> elements)
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