Package com.codeborne.selenide
Class ElementsCollection
java.lang.Object
com.codeborne.selenide.BaseElementsCollection<SelenideElement,ElementsCollection>
com.codeborne.selenide.ElementsCollection
- All Implemented Interfaces:
Iterable<SelenideElement>
@ParametersAreNonnullByDefault
public class ElementsCollection
extends BaseElementsCollection<SelenideElement,ElementsCollection>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.codeborne.selenide.BaseElementsCollection
BaseElementsCollection.SelenideElementIterable<T extends SelenideElement>
-
Constructor Summary
ConstructorDescriptionElementsCollection
(Driver driver, String cssSelector) ElementsCollection
(Driver driver, Collection<? extends org.openqa.selenium.WebElement> elements) ElementsCollection
(Driver driver, org.openqa.selenium.By seleniumSelector) ElementsCollection
(CollectionSource collection) -
Method Summary
Methods inherited from class com.codeborne.selenide.BaseElementsCollection
as, asDynamicIterable, asFixedIterable, attributes, describe, exclude, excludeWith, filter, filterBy, find, findBy, first, first, get, isEmpty, iterator, last, last, should, should, should, shouldBe, shouldBe, shouldHave, shouldHave, size, snapshot, stream, texts, toString, waitUntil
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ElementsCollection
-
ElementsCollection
public ElementsCollection(Driver driver, Collection<? extends org.openqa.selenium.WebElement> elements) -
ElementsCollection
-
ElementsCollection
-
-
Method Details
-
create
- Specified by:
create
in classBaseElementsCollection<SelenideElement,
ElementsCollection>
-