Interface ElementDescriber

All Known Implementing Classes:
AppiumElementDescriber, SelenideElementDescriber

@ParametersAreNonnullByDefault public interface ElementDescriber
  • Method Summary

    Modifier and Type
    Method
    Description
    briefly(Driver driver, org.openqa.selenium.WebElement element)
     
    default String
    fully(Driver driver, Collection<org.openqa.selenium.WebElement> elements)
    Outputs string presentation of the element's collection
    fully(Driver driver, org.openqa.selenium.WebElement element)
     
    selector(org.openqa.selenium.By selector)
     
  • Method Details

    • fully

      @CheckReturnValue @Nonnull String fully(Driver driver, @Nullable org.openqa.selenium.WebElement element)
    • briefly

      @CheckReturnValue @Nonnull String briefly(Driver driver, @Nonnull org.openqa.selenium.WebElement element)
    • selector

      @CheckReturnValue @Nonnull String selector(org.openqa.selenium.By selector)
    • fully

      @CheckReturnValue @Nonnull default String fully(Driver driver, @Nullable Collection<org.openqa.selenium.WebElement> elements)
      Outputs string presentation of the element's collection
      Parameters:
      elements - elements of string
      Returns:
      e.g. "[<h1>foo</h1>, <h2>bar</h2>]"
      See Also: