Package io.fluentlenium.core.proxy
Class FirstElementLocator
java.lang.Object
io.fluentlenium.core.proxy.AtIndexElementLocator
io.fluentlenium.core.proxy.FirstElementLocator
- All Implemented Interfaces:
org.openqa.selenium.support.pagefactory.ElementLocator
ElementLocator
retrieving the first element from another locator.-
Field Summary
Fields inherited from class io.fluentlenium.core.proxy.AtIndexElementLocator
listLocator
-
Constructor Summary
ConstructorDescriptionFirstElementLocator
(org.openqa.selenium.support.pagefactory.ElementLocator listLocator) Creates a new first element locator. -
Method Summary
Methods inherited from class io.fluentlenium.core.proxy.AtIndexElementLocator
findElement, findElements
-
Constructor Details
-
FirstElementLocator
public FirstElementLocator(org.openqa.selenium.support.pagefactory.ElementLocator listLocator) Creates a new first element locator.- Parameters:
listLocator
- element list locator
-
-
Method Details
-
toString
- Overrides:
toString
in classAtIndexElementLocator
-