Class WebElementQuery

    • Constructor Summary

      Constructors 
      Constructor Description
      WebElementQuery​(org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.By by)
      Constructs a WebElementQuery.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.openqa.selenium.WebElement getWebElement()
      Returns a web element
      java.util.List<org.openqa.selenium.WebElement> getWebElementList()
      Returns a web element list
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebElementQuery

        public WebElementQuery​(org.openqa.selenium.SearchContext searchContext,
                               org.openqa.selenium.By by)
        Constructs a WebElementQuery.
        Parameters:
        searchContext - the search context to use for querying the web element(s)
        by - the selector to use for querying the web element(s)
        Since:
        2.0.0