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.


Method Summary
 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.
 

Method Detail

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:


Copyright © 2011. All Rights Reserved.