stop method
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);
}