runningAppProtocolEndpointUri property
An observatory url that the test runner can connect to instead of creating a new running instance of the target application
Url takes the form of http://127.0.0.1:51540/EM72VtRsUV0=/
and usually printed to stdout in the form Connecting to service protocol: http://127.0.0.1:51540/EM72VtRsUV0=/
You will have to add the --verbose
flag to the command to start your flutter app to see this output and ensure enableFlutterDriverExtension()
is called by the running app
Implementation
String? runningAppProtocolEndpointUri;