List of usage examples for org.openqa.selenium.support.pagefactory AbstractAnnotations isLookupCached
public abstract boolean isLookupCached();
From source file:com.common.seleniumlib.CustomElementLocator.java
License:Apache License
/** * Use this constructor in order to process custom annotaions. * * @param searchContext The context to use when finding the element * @param annotations AbstractAnnotations class implementation *///w ww . ja v a 2 s . c om public CustomElementLocator(SearchContext searchContext, AbstractAnnotations annotations) { this.searchContext = searchContext; this.shouldCache = annotations.isLookupCached(); this.by = annotations.buildBy(); }