When I find images by alt text:
When I find images by alt text {string} Copy
When I find images by alt text {string}
Finds all <img> that match the alt text.
<img>
alt
When I find images by alt text "Text" Copy
When I find images by alt text "Text"
This precedes steps like "When I click". For example:
When I find images by alt text "Text" And I get 1st element And I click Copy
When I find images by alt text "Text" And I get 1st element And I click
Inspired by Testing Library's ByAltText.
When I find images by alt text:
Finds all
<img>
that match thealt
text.