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