targetRole property
Role hint — button, text, card, link, input_field, … Can stand
alone (find any button) or combine with targetText (find the button
labelled "Submit").
Implementation
final String? targetRole;
Role hint — button, text, card, link, input_field, … Can stand
alone (find any button) or combine with targetText (find the button
labelled "Submit").
final String? targetRole;