Package com.codeborne.selenide.impl
Class FilteringCollection
- java.lang.Object
-
- com.codeborne.selenide.impl.FilteringCollection
-
- All Implemented Interfaces:
WebElementsCollection
public class FilteringCollection extends java.lang.Object implements WebElementsCollection
-
-
Constructor Summary
Constructors Constructor Description FilteringCollection(WebElementsCollection originalCollection, Condition filter)FilteringCollection(WebElementsCollection originalCollection, java.util.function.Predicate<org.openqa.selenium.WebElement> filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescription()Driverdriver()java.util.List<org.openqa.selenium.WebElement>getElements()get elements of this collection (probably cached).
-
-
-
Constructor Detail
-
FilteringCollection
public FilteringCollection(WebElementsCollection originalCollection, java.util.function.Predicate<org.openqa.selenium.WebElement> filter)
-
FilteringCollection
public FilteringCollection(WebElementsCollection originalCollection, Condition filter)
-
-
Method Detail
-
getElements
public java.util.List<org.openqa.selenium.WebElement> getElements()
Description copied from interface:WebElementsCollectionget elements of this collection (probably cached).- Specified by:
getElementsin interfaceWebElementsCollection
-
description
public java.lang.String description()
- Specified by:
descriptionin interfaceWebElementsCollection
-
driver
public Driver driver()
- Specified by:
driverin interfaceWebElementsCollection
-
-