Optional
options: DataTableWhen I find element by label text "Email"
With options:
When I find element 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 element by label text "Email"
And I type "[email protected]"
Inspired by Testing Library's ByLabelText.
When I find element by label text:
Find the first visible
label
,aria-labelledby
, oraria-label
that matches the text.