Package com.codeborne.selenide.impl
Class BySelectorCollection
- java.lang.Object
-
- com.codeborne.selenide.impl.BySelectorCollection
-
- All Implemented Interfaces:
WebElementsCollection
@ParametersAreNonnullByDefault public class BySelectorCollection extends java.lang.Object implements WebElementsCollection
-
-
Constructor Summary
Constructors Constructor Description BySelectorCollection(Driver driver, org.openqa.selenium.By selector)BySelectorCollection(Driver driver, org.openqa.selenium.SearchContext parent, org.openqa.selenium.By selector)
-
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).
-
-
-
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
-
-