Class AbstractAnnotations
java.lang.Object
org.openqa.selenium.support.pagefactory.AbstractAnnotations
- Direct Known Subclasses:
Annotations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract org.openqa.selenium.By
buildBy()
Defines how to transform given object (field, class, etc.) intoBy
class used by webdriver to locate elements.abstract boolean
Defines whether given element should be returned from cache on further calls.
-
Constructor Details
-
AbstractAnnotations
public AbstractAnnotations()
-
-
Method Details
-
buildBy
public abstract org.openqa.selenium.By buildBy()Defines how to transform given object (field, class, etc.) intoBy
class used by webdriver to locate elements.- Returns:
- By object
-
isLookupCached
public abstract boolean isLookupCached()Defines whether given element should be returned from cache on further calls.- Returns:
- boolean if lookup cached
-