Function When_I_find_textarea_by_display_value

  • When I find textarea by display value:

    When I find textarea by display value {string}
    

    Returns the textarea element that has the matching display value.

    Parameters

    • value: string

    Returns void

    When I find textarea by display value "Textarea"
    

    This precedes steps like "When I set value". For example:

    When I find textarea by display value "Textarea"
    And I set value "Value"

    Inspired by Testing Library's ByDisplayValue.