Class ElementInstanceLocator

java.lang.Object
io.fluentlenium.core.proxy.ElementSupplierLocator
io.fluentlenium.core.proxy.ElementInstanceLocator
All Implemented Interfaces:
org.openqa.selenium.support.pagefactory.ElementLocator, org.openqa.selenium.WrapsElement

public class ElementInstanceLocator extends ElementSupplierLocator implements org.openqa.selenium.WrapsElement
ElementLocator for an already found WebElement instance.
  • Constructor Details

    • ElementInstanceLocator

      public ElementInstanceLocator (org.openqa.selenium.WebElement element)
      Creates a new element instance locator
      Parameters:
      element - element instance
  • Method Details

    • getWrappedElement

      public org.openqa.selenium.WebElement getWrappedElement()
      Specified by:
      getWrappedElement in interface org.openqa.selenium.WrapsElement