public class ElementListSupplierLocator extends Object implements org.openqa.selenium.support.pagefactory.ElementLocator
Supplier of list of WebElement.| Constructor and Description |
|---|
ElementListSupplierLocator(List<org.openqa.selenium.WebElement> elements)
Creates a new element list supplier locator
|
ElementListSupplierLocator(com.google.common.base.Supplier<List<org.openqa.selenium.WebElement>> elementsSupplier)
Creates a new element list supplier locator
|
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
findElement() |
List<org.openqa.selenium.WebElement> |
findElements() |
String |
toString() |
public ElementListSupplierLocator(List<org.openqa.selenium.WebElement> elements)
elements - element list instancepublic ElementListSupplierLocator(com.google.common.base.Supplier<List<org.openqa.selenium.WebElement>> elementsSupplier)
elementsSupplier - element list 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.