scrollIntoViewByTooltip method
Implementation
Future<Response> scrollIntoViewByTooltip(String tooltip,
{double alignment = 0.0}) async {
VM vm = await vmService.getVM();
IsolateRef? mainIsolate = vm.isolates!.first;
return await vmService.callServiceExtension(
'ext.flutter.driver',
isolateId: mainIsolate.id!,
args: {
'command': 'scrollIntoView',
'finderType': 'ByTooltip',
'tooltip': tooltip,
'alignment': alignment.toString(),
},
);
}