Interface CanFindElements

All Known Subinterfaces:
ImprovedWebElement
All Known Implementing Classes:
ImprovedRemoteWebElement

public interface CanFindElements
Shorthand interface for common element lookup and interaction strategies/methods.
  • Field Details

    • DEFAULT_WAIT_UNTIL_DURATION

      static final Duration DEFAULT_WAIT_UNTIL_DURATION
  • Method Details

    • byAttribute

      default org.openqa.selenium.By byAttribute(String attribute, String value)
    • byClassNamePart

      default org.openqa.selenium.By byClassNamePart(String className)
    • waitForFirstChained

      default org.openqa.selenium.WebElement waitForFirstChained(org.openqa.selenium.By... chainedBys)
    • waitForFirstAnd

      default org.openqa.selenium.WebElement waitForFirstAnd(org.openqa.selenium.By... andBys)
    • waitForFirst

      default org.openqa.selenium.WebElement waitForFirst(org.openqa.selenium.By by)
    • waitForFirst

      default <T extends org.openqa.selenium.WebElement> T waitForFirst(Class<T> clazz)
    • waitForFirst

      default <T extends org.openqa.selenium.WebElement> T waitForFirst(Class<T> clazz, org.openqa.selenium.By additionalAndBy)
    • waitForFirst

      default <T extends org.openqa.selenium.WebElement> T waitForFirst(Class<T> clazz, org.openqa.selenium.By additionalAndBy, Duration duration)
    • elementProxyCreator

      default ElementInstantiator elementProxyCreator()
    • waitUntil

      default <V> V waitUntil(Function<org.openqa.selenium.WebDriver,V> isTrue)
    • waitUntil

      default <V> V waitUntil(Function<org.openqa.selenium.WebDriver,V> isTrue, Duration duration)
    • waitForFirstByClassName

      default <T extends org.openqa.selenium.WebElement> T waitForFirstByClassName(Class<T> clazz, String className)
    • determineSearchContext

      default org.openqa.selenium.SearchContext determineSearchContext(org.openqa.selenium.WebDriver webDriver)
    • getWebDriver

      org.openqa.selenium.WebDriver getWebDriver()
    • executeScript

      default Object executeScript(String script, Object... args)
    • callFunction

      default Object callFunction(String methodName, Object... args)