Package com.codeborne.selenide.impl
Class HeadOfCollection
java.lang.Object
com.codeborne.selenide.impl.HeadOfCollection
- All Implemented Interfaces:
CollectionSource
@ParametersAreNonnullByDefault
public class HeadOfCollection
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
-
HeadOfCollection
-
-
Method Details
-
driver
- Specified by:
driver
in interfaceCollectionSource
-
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
-
getAlias
- Specified by:
getAlias
in interfaceCollectionSource
-
setAlias
- Specified by:
setAlias
in interfaceCollectionSource
-