Package com.codeborne.selenide.impl
Class WebElementsCollectionWrapper
- java.lang.Object
-
- com.codeborne.selenide.impl.WebElementsCollectionWrapper
-
- All Implemented Interfaces:
WebElementsCollection
@ParametersAreNonnullByDefault public class WebElementsCollectionWrapper extends java.lang.Object implements WebElementsCollection
-
-
Constructor Summary
Constructors Constructor Description WebElementsCollectionWrapper(Driver driver, java.util.Collection<? extends org.openqa.selenium.WebElement> elements)
-
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).
-
-
-
Constructor Detail
-
WebElementsCollectionWrapper
public WebElementsCollectionWrapper(Driver driver, java.util.Collection<? extends org.openqa.selenium.WebElement> elements)
-
-
Method Detail
-
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
-
getElement
@CheckReturnValue @Nonnull public org.openqa.selenium.WebElement getElement(int index)
Description copied from interface:WebElementsCollectionget Nth element of this collection- Specified by:
getElementin interfaceWebElementsCollection
-
description
@CheckReturnValue @Nonnull public java.lang.String description()
- Specified by:
descriptionin interfaceWebElementsCollection
-
driver
@CheckReturnValue @Nonnull public Driver driver()
- Specified by:
driverin interfaceWebElementsCollection
-
-