When I find select by display value:
When I find select by display value {string} Copy
When I find select by display value {string}
Returns the select element that has the matching display value.
select
When I find select by display value "Option" Copy
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" Copy
When I find select by display value "Option" And I set value "Value"
Inspired by Testing Library's ByDisplayValue.
When I find select by display value:
Returns the
select
element that has the matching display value.