Class ElementsCollection

All Implemented Interfaces:
Iterable<SelenideElement>
Direct Known Subclasses:
SelenideAppiumCollection

public class ElementsCollection extends BaseElementsCollection<SelenideElement,ElementsCollection>
  • Constructor Details

    • ElementsCollection

      public ElementsCollection(CollectionSource collection)
    • ElementsCollection

      public ElementsCollection(Driver driver, Collection<? extends org.openqa.selenium.WebElement> elements)
    • ElementsCollection

      public ElementsCollection(Driver driver, String cssSelector)
    • ElementsCollection

      public ElementsCollection(Driver driver, org.openqa.selenium.By seleniumSelector)
    • ElementsCollection

      protected ElementsCollection(CollectionSource collection, Class<? extends SelenideElement> elementClass)
      Lets a subclass produce elements of a more specific class than SelenideElement, e.g. a plugin module's own element interface, while keeping this class' own generic parameter (and therefore the declared return type of get()/first()/last()/find()/ findBy()/iterator()/stream()) unchanged.
  • Method Details