Class AbstractAnnotations

Direct Known Subclasses:

public abstract class AbstractAnnotations extends Object
Abstract class to work with fields in Page Objects. Provides methods to process FindBy, FindBys and FindAll annotations.
  • Constructor Details

    • AbstractAnnotations

      public AbstractAnnotations()
  • Method Details

    • buildBy

      public abstract By buildBy()
      Defines how to transform given object (field, class, etc.) into By class used by webdriver to locate elements.
      By object
    • isLookupCached

      public abstract boolean isLookupCached()
      Defines whether given element should be returned from cache on further calls.
      boolean if lookup cached