Function When_I_find_select_by_display_value

  • When I find select by display value:

    When I find select by display value {string}
    

    Returns the select element that has the matching display value.

    Parameters

    • value: string

    Returns void

    When I find select by display value "Option"
    

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

    When I find select by display value "Option"
    And I set value "Value"

    Inspired by Testing Library's ByDisplayValue.