Annotation Type LabelHint


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface LabelHint
    Using this annotation the value of toString() method of the injected object will be extended with the list of hints provided to the annotation. For example in case of:
     @FindBy(css = ".teaser img")
     @LabelHint({"img", "teaser"})
     private FluentWebElement teaserImage;
     

    [img, teaser] will be attached to the toString.

    A label hint can be added on an injected FluentWebElement or FluentList.

    See Also:
    FluentLabel.withLabelHint(String...)
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String[] value
      Array of label hints
    • Element Detail

      • value

        String[] value
        Array of label hints
        Returns:
        array of label hints