public class ElementSupplierLocator extends Object implements org.openqa.selenium.support.pagefactory.ElementLocator
Supplier of WebElement.| Constructor and Description |
|---|
ElementSupplierLocator(com.google.common.base.Supplier<org.openqa.selenium.WebElement> elementSupplier)
Creates a new element supplier locator.
|
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
findElement() |
List<org.openqa.selenium.WebElement> |
findElements() |
String |
toString() |
public ElementSupplierLocator(com.google.common.base.Supplier<org.openqa.selenium.WebElement> elementSupplier)
elementSupplier - element supplierpublic org.openqa.selenium.WebElement findElement()
findElement in interface org.openqa.selenium.support.pagefactory.ElementLocatorpublic List<org.openqa.selenium.WebElement> findElements()
findElements in interface org.openqa.selenium.support.pagefactory.ElementLocatorCopyright © 2016 FluentLenium. All Rights Reserved.