public final class DefaultElementLocatorFactory extends Object implements ElementLocatorFactory
Constructor and Description |
---|
DefaultElementLocatorFactory(org.openqa.selenium.SearchContext searchContext) |
Modifier and Type | Method and Description |
---|---|
ElementLocator |
createLocator(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(Field field)
ElementLocatorFactory
ElementLocator
this method will
be called.createLocator
in interface ElementLocatorFactory
Copyright © 2014. All rights reserved.