org.openqa.selenium.support.pagefactory
Class DefaultElementLocatorFactory
java.lang.Object
org.openqa.selenium.support.pagefactory.DefaultElementLocatorFactory
- All Implemented Interfaces:
- ElementLocatorFactory
public final class DefaultElementLocatorFactory
- extends Object
- implements ElementLocatorFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultElementLocatorFactory
public DefaultElementLocatorFactory(SearchContext searchContext)
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.