Interface CollectionSource

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

@ParametersAreNonnullByDefault public interface CollectionSource
  • Method Details

    • getElements

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

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

      @CheckReturnValue @Nonnull String getSearchCriteria()
    • description

      @CheckReturnValue @Nonnull default String description()
    • shortDescription

      @CheckReturnValue @Nonnull default String shortDescription()
    • driver

      @CheckReturnValue @Nonnull Driver driver()
    • getAlias

      @CheckReturnValue @Nonnull Alias getAlias()
    • setAlias

      void setAlias(String alias)