targetRole property

String? targetRole
final

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;