Package org.fluentlenium.core.proxy
Class LastElementLocator
- java.lang.Object
-
- org.fluentlenium.core.proxy.LastElementLocator
-
- All Implemented Interfaces:
org.openqa.selenium.support.pagefactory.ElementLocator
public class LastElementLocator extends java.lang.Object implements org.openqa.selenium.support.pagefactory.ElementLocatorElementLocatorretrieving the last element from another locator.
-
-
Constructor Summary
Constructors Constructor Description LastElementLocator(org.openqa.selenium.support.pagefactory.ElementLocator listLocator)Creates a new last element locator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElementfindElement()java.util.List<org.openqa.selenium.WebElement>findElements()java.lang.StringtoString()
-
-
-
Method Detail
-
findElement
public org.openqa.selenium.WebElement findElement()
- Specified by:
findElementin interfaceorg.openqa.selenium.support.pagefactory.ElementLocator
-
findElements
public java.util.List<org.openqa.selenium.WebElement> findElements()
- Specified by:
findElementsin interfaceorg.openqa.selenium.support.pagefactory.ElementLocator
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-