@ParametersAreNonnullByDefault public class TailOfCollection extends java.lang.Object implements CollectionSource
| Constructor and Description |
|---|
TailOfCollection(CollectionSource 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).
|
void |
setAlias(java.lang.String alias) |
public TailOfCollection(CollectionSource originalCollection, int size)
@CheckReturnValue @Nonnull public java.util.List<org.openqa.selenium.WebElement> getElements()
CollectionSourcegetElements in interface CollectionSource@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement getElement(int index)
CollectionSourcegetElement in interface CollectionSource@CheckReturnValue @Nonnull public java.lang.String description()
description in interface CollectionSource@CheckReturnValue @Nonnull public Driver driver()
driver in interface CollectionSourcepublic void setAlias(java.lang.String alias)
setAlias in interface CollectionSource