Annotation Interface MessageBox


@Retention(RUNTIME) @Target(FIELD) public @interface MessageBox
Annotated fields of type PageElement to be able to inject page elements representing JIRA message boxes.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Type of the message box.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    org.openqa.selenium.support.How
    How to locate parent
    Locator of the parent element.
  • Element Details

    • parentLocator

      String parentLocator
      Locator of the parent element.
      Returns:
      locator stirng of the parent
      Default:
      "body"
    • how

      org.openqa.selenium.support.How how
      How to locate parent
      Returns:
      how to locate parent
      Default:
      TAG_NAME
    • messageType

      MessageType messageType
      Type of the message box.
      Returns:
      message type