Class ElementLocatorSearchContext

java.lang.Object
io.fluentlenium.core.inject.ElementLocatorSearchContext
All Implemented Interfaces:
org.openqa.selenium.SearchContext

public class ElementLocatorSearchContext extends Object implements org.openqa.selenium.SearchContext
Search context backed by an ElementLocator.
  • Constructor Details

    • ElementLocatorSearchContext

      public ElementLocatorSearchContext (org.openqa.selenium.support.pagefactory.ElementLocator locator)
      Creates a new element locator search context.
      Parameters:
      locator - element locator
  • Method Details

    • findElements

      public List<org.openqa.selenium.WebElement> findElements (org.openqa.selenium.By by)
      Specified by:
      findElements in interface org.openqa.selenium.SearchContext
    • findElement

      public org.openqa.selenium.WebElement findElement (org.openqa.selenium.By by)
      Specified by:
      findElement in interface org.openqa.selenium.SearchContext