Package org.fluentlenium.core.label
Interface FluentLabel<T>
-
- Type Parameters:
T-thisclass to chain method calls
- All Known Subinterfaces:
FluentList<E>
- All Known Implementing Classes:
FluentLabelImpl,FluentListImpl,FluentWebElement
public interface FluentLabel<T>Apply label and label hints to element.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TwithLabel(java.lang.String label)Apply a label that will be displayed as the representation of this object for error message.TwithLabelHint(java.lang.String... labelHint)Add a label hint that will be appended to the representation of this object for error message.
-
-
-
Method Detail
-
withLabel
T withLabel(java.lang.String label)
Apply a label that will be displayed as the representation of this object for error message.- Parameters:
label- label to use- Returns:
- reference to this object to chain calls
-
withLabelHint
T withLabelHint(java.lang.String... labelHint)
Add a label hint that will be appended to the representation of this object for error message.- Parameters:
labelHint- label hints to add- Returns:
- reference to this object to chain calls
-
-