onAfterFlutterDriverConnect property
Called after the successful connection of Flutter driver to the running application. Depending on your configuration this method will be called on each new connection usually before each scenario is run.
Implementation
Future<void> Function(FlutterDriver driver)? onAfterFlutterDriverConnect;