Interface CollectionSource

All Known Implementing Classes:
BySelectorCollection, CollectionSnapshot, FilteringCollection, HeadOfCollection, LazyCollectionSnapshot, TailOfCollection, WebElementsCollectionWrapper

public interface CollectionSource
  • Method Details

    • getElements

      List<org.openqa.selenium.WebElement> getElements()
      get elements of this collection (probably cached).
    • getElement

      org.openqa.selenium.WebElement getElement(int index)
      get Nth element of this collection
    • getSearchCriteria

      String getSearchCriteria()
    • description

      default String description()
    • shortDescription

      default String shortDescription()
    • driver

      Driver driver()
    • getAlias

      Alias getAlias()
    • setAlias

      void setAlias(String alias)