Class ElementListInstanceLocator

java.lang.Object
io.fluentlenium.core.proxy.ElementListSupplierLocator
io.fluentlenium.core.proxy.ElementListInstanceLocator
All Implemented Interfaces:
WrapsElements, org.openqa.selenium.support.pagefactory.ElementLocator

public class ElementListInstanceLocator extends ElementListSupplierLocator implements WrapsElements
ElementLocator for an already found list of WebElement instance.
  • Constructor Details

    • ElementListInstanceLocator

      public ElementListInstanceLocator (List<org.openqa.selenium.WebElement> elements)
      Creates a new element list instance locator
      Parameters:
      elements - element list instance
  • Method Details

    • getWrappedElements

      public List<org.openqa.selenium.WebElement> getWrappedElements()
      Description copied from interface: WrapsElements
      Get the wrapped elements
      Specified by:
      getWrappedElements in interface WrapsElements
      Returns:
      wrapped elements