onBeforeFlutterDriverConnect property
Called before any attempt to connect Flutter driver to the running application, Depending on your configuration this method will be called before each scenario is run.
Implementation
Future<void> Function()? onBeforeFlutterDriverConnect;