Optional
options: DataTableWhen I find elements by label text "Email"
With options:
When I find elements by label text "Email"
| log | true |
| timeout | 4000 |
| withinSubject | null |
| includeShadowDom | false |
| pseudoSelector | visible |
This precedes steps like "When I type". For example:
When I find elements by label text "Email"
And I get 1st element
And I type "[email protected]"
Inspired by Testing Library's ByLabelText.
When I find elements by label text:
Find all visible
label
,aria-labelledby
, oraria-label
that matches the text.