Class AjaxElementLocatorFactory
java.lang.Object
org.openqa.selenium.support.pagefactory.AjaxElementLocatorFactory
- All Implemented Interfaces:
ElementLocatorFactory
-
Constructor Summary
ConstructorDescriptionAjaxElementLocatorFactory
(SearchContext searchContext, int timeOutInSeconds) -
Method Summary
Modifier and TypeMethodDescriptioncreateLocator
(Field field) When a field on a class needs to be decorated with anElementLocator
this method will be called.
-
Constructor Details
-
AjaxElementLocatorFactory
-
-
Method Details
-
createLocator
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.
-