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