public class FrostyElementLocator
extends java.lang.Object
implements org.openqa.selenium.support.pagefactory.ElementLocator
| Constructor and Description |
|---|
FrostyElementLocator(org.openqa.selenium.SearchContext searchContext,
java.lang.reflect.Field field)
Creates a new element locator.
|
FrostyElementLocator(org.openqa.selenium.SearchContext searchContext,
FrostyAnnotations annotations)
Use this constructor in order to process custom annotaions.
|
| 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.
|
java.lang.String |
toString() |
public FrostyElementLocator(org.openqa.selenium.SearchContext searchContext,
java.lang.reflect.Field field)
searchContext - The context to use when finding the elementfield - The field on the Page Object that will hold the located valuepublic FrostyElementLocator(org.openqa.selenium.SearchContext searchContext,
FrostyAnnotations annotations)
searchContext - The context to use when finding the elementannotations - AbstractAnnotations class implementationpublic 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 © 2020. All Rights Reserved.