Package com.codeborne.selenide.impl
Class FilteringCollection
- java.lang.Object
-
- com.codeborne.selenide.impl.FilteringCollection
-
- All Implemented Interfaces:
CollectionSource
@ParametersAreNonnullByDefault public class FilteringCollection extends java.lang.Object implements CollectionSource
-
-
Constructor Summary
Constructors Constructor Description FilteringCollection(CollectionSource 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).voidsetAlias(java.lang.String alias)
-
-
-
Constructor Detail
-
FilteringCollection
public FilteringCollection(CollectionSource originalCollection, Condition filter)
-
-
Method Detail
-
getElements
@CheckReturnValue @Nonnull public java.util.List<org.openqa.selenium.WebElement> getElements()
Description copied from interface:CollectionSourceget elements of this collection (probably cached).- Specified by:
getElementsin interfaceCollectionSource
-
getElement
@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement getElement(int index)
Description copied from interface:CollectionSourceget Nth element of this collection- Specified by:
getElementin interfaceCollectionSource
-
description
@CheckReturnValue @Nonnull public java.lang.String description()
- Specified by:
descriptionin interfaceCollectionSource
-
driver
@CheckReturnValue @Nonnull public Driver driver()
- Specified by:
driverin interfaceCollectionSource
-
setAlias
public void setAlias(java.lang.String alias)
- Specified by:
setAliasin interfaceCollectionSource
-
-