Package com.codeborne.selenide.impl
Class CollectionSnapshot
java.lang.Object
com.codeborne.selenide.impl.CollectionSnapshot
- All Implemented Interfaces:
CollectionSource
@ParametersAreNonnullByDefault
public class CollectionSnapshot
extends Object
implements CollectionSource
-
Constructor Summary
-
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
-
CollectionSnapshot
-
-
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
-