org.openqa.selenium.support.pagefactory
Interface ElementLocatorFactory
- All Known Implementing Classes:
- AjaxElementLocatorFactory, DefaultElementLocatorFactory
public interface ElementLocatorFactory
A factory for producing ElementLocators. It is expected that a new ElementLocator will be
returned per call.
createLocator
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.
- Parameters:
field -
- Returns:
- An ElementLocator object.
Copyright © 2012. All Rights Reserved.