Annotation Type PageAwareFindBy


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

    Fields 
    Modifier and Type Fields Description
    static String DEFAULT_PAGE_NAME  
  • Required Element Summary

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

    Optional Elements 
    Modifier and Type Optional Element Description
    String page
    Identifies the page name this locator belongs to.
  • 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"