Class AbstractAnnotations
- java.lang.Object
-
- org.openqa.selenium.support.pagefactory.AbstractAnnotations
-
- Direct Known Subclasses:
Annotations
public abstract class AbstractAnnotations extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractAnnotations()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract org.openqa.selenium.By
buildBy()
Defines how to transform given object (field, class, etc) intoBy
class used by webdriver to locate elements.abstract boolean
isLookupCached()
Defines whether or not given element should be returned from cache on further calls.
-
-
-
Method Detail
-
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 or not given element should be returned from cache on further calls.- Returns:
- boolean if lookup cached
-
-