public class FilteringCollection extends java.lang.Object implements WebElementsCollection
| Constructor and Description |
|---|
FilteringCollection(WebElementsCollection originalCollection,
com.google.common.base.Predicate<org.openqa.selenium.WebElement> filter) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
description() |
java.util.List<org.openqa.selenium.WebElement> |
getActualElements()
fetches the current collection state from the webdriver
|
java.util.List<org.openqa.selenium.WebElement> |
getElements()
gets currently loaded collection (probably cached).
|
public FilteringCollection(WebElementsCollection originalCollection, com.google.common.base.Predicate<org.openqa.selenium.WebElement> filter)
public java.util.List<org.openqa.selenium.WebElement> getElements()
WebElementsCollectiongetElements in interface WebElementsCollectionWebElementsCollection.getActualElements()public java.util.List<org.openqa.selenium.WebElement> getActualElements()
WebElementsCollectiongetActualElements in interface WebElementsCollectionpublic java.lang.String description()
description in interface WebElementsCollection