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 ElementLocatorcreateLocator(java.lang.reflect.Field field)When a field on a class needs to be decorated with anElementLocatorthis method will be called.
-
-
-
Method Detail
-
createLocator
public ElementLocator createLocator(java.lang.reflect.Field field)
Description copied from interface:ElementLocatorFactoryWhen a field on a class needs to be decorated with anElementLocatorthis method will be called.- Specified by:
createLocatorin interfaceElementLocatorFactory- Parameters:
field- the field- Returns:
- An ElementLocator object.
-
-