Interface ElementDescriber

All Known Implementing Classes:
AppiumElementDescriber, SelenideElementDescriber

public interface ElementDescriber
  • Method Summary

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

    • fully

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

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

      String selector(org.openqa.selenium.By selector)
    • fully

      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: