org.openqa.selenium.support.pagefactory
Class DefaultElementLocatorFactory

java.lang.Object
  extended by org.openqa.selenium.support.pagefactory.DefaultElementLocatorFactory
All Implemented Interfaces:
ElementLocatorFactory

public final class DefaultElementLocatorFactory
extends Object
implements ElementLocatorFactory


Constructor Summary
DefaultElementLocatorFactory(SearchContext searchContext)
           
 
Method Summary
 ElementLocator createLocator(Field field)
          When a field on a class needs to be decorated with an ElementLocator this method will be called.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultElementLocatorFactory

public DefaultElementLocatorFactory(SearchContext searchContext)
Method Detail

createLocator

public ElementLocator createLocator(Field field)
Description copied from interface: ElementLocatorFactory
When a field on a class needs to be decorated with an ElementLocator this method will be called.

Specified by:
createLocator in interface ElementLocatorFactory
Returns:
An ElementLocator object.


Copyright © 2013. All Rights Reserved.