public final class DefaultElementLocatorFactory extends java.lang.Object implements ElementLocatorFactory
| Constructor and Description |
|---|
DefaultElementLocatorFactory(org.openqa.selenium.SearchContext searchContext) |
| Modifier and Type | Method and Description |
|---|---|
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. |
public DefaultElementLocatorFactory(org.openqa.selenium.SearchContext searchContext)
public ElementLocator createLocator(java.lang.reflect.Field field)
ElementLocatorFactoryElementLocator this method will
be called.createLocator in interface ElementLocatorFactoryfield - the field