public class SmartElementLocator
extends java.lang.Object
implements org.openqa.selenium.support.pagefactory.ElementLocator
| Constructor and Description |
|---|
SmartElementLocator(org.openqa.selenium.SearchContext searchContext,
java.lang.reflect.Field field) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
findElement()
Find the element.
|
java.util.List<org.openqa.selenium.WebElement> |
findElements()
Find the element list.
|
public SmartElementLocator(org.openqa.selenium.SearchContext searchContext,
java.lang.reflect.Field field)
public 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.ElementLocator