tapWidgetByText method
Implementation
Future<Response> tapWidgetByText(String text) async {
VM vm = await vmService.getVM();
IsolateRef? mainIsolate = vm.isolates?.first;
return await vmService.callServiceExtension(
'ext.flutter.driver',
isolateId: mainIsolate!.id!,
args: {
'command': 'tap',
'finderType': 'ByText',
'text': text,
},
);
}