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