onAfterFlutterDriverConnect property

(Future<void> Function(FlutterDriver driver)?) onAfterFlutterDriverConnect
getter/setter pair

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;