Package com.codeborne.selenide.impl
Class FilteringCollection
java.lang.Object
com.codeborne.selenide.impl.FilteringCollection
- All Implemented Interfaces:
CollectionSource
@ParametersAreNonnullByDefault
public class FilteringCollection
extends Object
implements CollectionSource
-
Constructor Summary
ConstructorDescriptionFilteringCollection
(CollectionSource originalCollection, WebElementCondition filter) -
Method Summary
Modifier and TypeMethodDescriptiondriver()
getAlias()
org.openqa.selenium.WebElement
getElement
(int index) get Nth element of this collectionList<org.openqa.selenium.WebElement>
get elements of this collection (probably cached).void
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.codeborne.selenide.impl.CollectionSource
description, shortDescription
-
Constructor Details
-
FilteringCollection
-
-
Method Details
-
getElements
Description copied from interface:CollectionSource
get elements of this collection (probably cached).- Specified by:
getElements
in interfaceCollectionSource
-
getElement
@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement getElement(int index) Description copied from interface:CollectionSource
get Nth element of this collection- Specified by:
getElement
in interfaceCollectionSource
-
getSearchCriteria
- Specified by:
getSearchCriteria
in interfaceCollectionSource
-
toString
-
driver
- Specified by:
driver
in interfaceCollectionSource
-
getAlias
- Specified by:
getAlias
in interfaceCollectionSource
-
setAlias
- Specified by:
setAlias
in interfaceCollectionSource
-