Package org.fluentlenium.core.annotation
Annotation Type LabelHint
-
@Retention(RUNTIME) @Target(FIELD) public @interface LabelHint
Using this annotation the value oftoString()
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
orFluentList
.- See Also:
FluentLabel.withLabelHint(String...)
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]
value
Array of label hints
-