public interface ElementLocatorFactory
VaniElementLocators. It is expected that a
new ElementLocator will be returned per call. ElementLocatorFactory with
one difference. The result has the type VaniElementLocator instead of
ElementLocator.| Modifier and Type | Method and Description |
|---|---|
VaniElementLocator<?> |
createLocator(FieldTypeInfo fieldTypeInfo,
org.openqa.selenium.SearchContext searchContext,
org.openqa.selenium.By by,
boolean shouldCache)
When a field on a class needs to be decorated with an
VaniElementLocator this method will be called. |
VaniElementLocator<?> createLocator(FieldTypeInfo fieldTypeInfo, org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.By by, boolean shouldCache)
VaniElementLocator this method will be called.by - shouldCache - Copyright © 2016. All rights reserved.