stop method

Future<void> stop({
  1. bool debugLogging = false,
})

Implementation

Future<void> stop({bool debugLogging = false}) async {
  final process = _process;
  _process = null;

  if (process == null) return;

  await cancelAllStreamSubscriptions();

  if (debugLogging) {
    print('killing the chromedriver process');
  }
  await killGracefully(process, debugLogging: debugLogging);
}