Class AjaxElementLocatorFactory
- java.lang.Object
-
- org.openqa.selenium.support.pagefactory.AjaxElementLocatorFactory
-
- All Implemented Interfaces:
ElementLocatorFactory
public class AjaxElementLocatorFactory extends java.lang.Object implements ElementLocatorFactory
-
-
Constructor Summary
Constructors Constructor Description AjaxElementLocatorFactory(org.openqa.selenium.SearchContext searchContext, int timeOutInSeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementLocator
createLocator(java.lang.reflect.Field field)
When a field on a class needs to be decorated with anElementLocator
this method will be called.
-
-
-
Method Detail
-
createLocator
public ElementLocator createLocator(java.lang.reflect.Field field)
Description copied from interface:ElementLocatorFactory
When a field on a class needs to be decorated with anElementLocator
this method will be called.- Specified by:
createLocator
in interfaceElementLocatorFactory
- Parameters:
field
- the field- Returns:
- An ElementLocator object.
-
-