Package com.codeborne.selenide.impl
Class HeadOfCollection
- java.lang.Object
-
- com.codeborne.selenide.impl.HeadOfCollection
-
- All Implemented Interfaces:
WebElementsCollection
@ParametersAreNonnullByDefault public class HeadOfCollection extends java.lang.Object implements WebElementsCollection
-
-
Constructor Summary
Constructors Constructor Description HeadOfCollection(WebElementsCollection originalCollection, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescription()Driverdriver()java.util.List<org.openqa.selenium.WebElement>getElements()get elements of this collection (probably cached).
-
-
-
Constructor Detail
-
HeadOfCollection
public HeadOfCollection(WebElementsCollection originalCollection, int size)
-
-
Method Detail
-
driver
@CheckReturnValue @Nonnull public Driver driver()
- Specified by:
driverin interfaceWebElementsCollection
-
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
-
description
@CheckReturnValue @Nonnull public java.lang.String description()
- Specified by:
descriptionin interfaceWebElementsCollection
-
-