@ParametersAreNonnullByDefault public class HeadOfCollection extends java.lang.Object implements WebElementsCollection
| Constructor and Description |
|---|
HeadOfCollection(WebElementsCollection originalCollection,
int size) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
description() |
Driver |
driver() |
org.openqa.selenium.WebElement |
getElement(int index)
get Nth element of this collection
|
java.util.List<org.openqa.selenium.WebElement> |
getElements()
get elements of this collection (probably cached).
|
public HeadOfCollection(WebElementsCollection originalCollection, int size)
@CheckReturnValue @Nonnull public Driver driver()
driver in interface WebElementsCollection@CheckReturnValue @Nonnull public java.util.List<org.openqa.selenium.WebElement> getElements()
WebElementsCollectiongetElements in interface WebElementsCollection@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement getElement(int index)
WebElementsCollectiongetElement in interface WebElementsCollection@CheckReturnValue @Nonnull public java.lang.String description()
description in interface WebElementsCollection