Annotation Type PageAwareFindBy


@Retention(RUNTIME) @Target({FIELD,TYPE}) public @interface PageAwareFindBy
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    org.openqa.selenium.support.FindBy
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Identifies the page name this locator belongs to.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • findBy

      org.openqa.selenium.support.FindBy findBy
      Returns:
      a plain element locator
    • page

      String page
      Identifies the page name this locator belongs to. By default, uses the class name in which the locator is defined.
      Returns:
      an identifier of the current UI state the element is located on
      Default:
      "DEFAULT_PAGE"