Package io.fluentlenium.core.proxy
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 Summary
ConstructorDescriptionElementInstanceLocator
(org.openqa.selenium.WebElement element) Creates a new element instance locator -
Method Summary
Methods inherited from class io.fluentlenium.core.proxy.ElementSupplierLocator
findElement, findElements, toString
-
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 interfaceorg.openqa.selenium.WrapsElement
-