public class AjaxElementLocatorFactory extends java.lang.Object implements ElementLocatorFactory
Modifier and Type | Field and Description |
---|---|
private org.openqa.selenium.SearchContext |
searchContext |
private int |
timeOutInSeconds |
Constructor and Description |
---|
AjaxElementLocatorFactory(org.openqa.selenium.SearchContext searchContext,
int timeOutInSeconds) |
Modifier and Type | Method and Description |
---|---|
ElementLocator |
createLocator(java.lang.reflect.Field field)
When a field on a class needs to be decorated with an
ElementLocator this method will
be called. |
private final org.openqa.selenium.SearchContext searchContext
private final int timeOutInSeconds
public AjaxElementLocatorFactory(org.openqa.selenium.SearchContext searchContext, int timeOutInSeconds)
public ElementLocator createLocator(java.lang.reflect.Field field)
ElementLocatorFactory
ElementLocator
this method will
be called.createLocator
in interface ElementLocatorFactory
field
- the field