anchor.diff:      late FakeVM fakeVM;
       late FakeIsolate fakeIsolate;
       late VMServiceFlutterDriver driver;
  +    late File logFile;
       int driverId = -1;
   
       setUp(() {
  
positive.code:   group('WebFlutterDriver with logCommunicationToFile', () {
      late FakeFlutterWebConnection fakeConnection;
      late WebFlutterDriver driver;
      int driverId = -1;
  
      setUp(() {
  
negative.code:       fakeConnection.supportsTimelineAction = true;
        fakeConnection.responses['waitFor'] = jsonEncode(makeFakeResponse(<String, dynamic>{'status': 'ok'}));
        driverId += 1;
        logFile = File(path.join(testOutputsDirectory, 'flutter_driver_commands_$driverId.log'));
      });
  
      tearDown(() {
        if (logFile.existsSync()) {
          logFile.deleteSync();
        }
      });
  
      test('logCommunicationToFile = true', () async {
        driver = WebFlutterDriver.connectedTo(fakeConnection);
        await driver.waitFor(find.byTooltip('logCommunicationToFile test'), timeout: _kTestTimeout);
  
        final bool exists = logFile.existsSync();
        expect(exists, true, reason: 'Not found ${logFile.path}');
  
        final String commandLog = await logFile.readAsString();
        const String waitForCommandLog = '>>> {command: waitFor, timeout: 1234, finderType: ByTooltipMessage, text: logCommunicationToFile test}';
        const String responseLog = '<<< {isError: false, response: {status: ok}, type: Response}';
  
  