Interface FluentLabel<T>

Type Parameters:
T - this class 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

    Modifier and Type
    Method
    Description
    T
    withLabel (String label)
    Apply a label that will be displayed as the representation of this object for error message.
    T
    withLabelHint (String... labelHint)
    Add a label hint that will be appended to the representation of this object for error message.
  • Method Details

    • withLabel

      T withLabel (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 (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