Future start()

in packages/web_drivers/lib/firefox_driver_installer.dart [46:60]


  Future<void> start({bool alwaysInstall = false}) async {
    // Install Driver.
    try {
      await install(alwaysInstall: alwaysInstall);
      await runDriver();
    } finally {
      // Only delete if the user is planning to override the installs.
      // Keeping the existing version might make local development easier.
      // Also if a CI build runs multiple felt commands using an existing
      // version speeds up the build.
      if (!alwaysInstall) {
        driverDownload?.deleteSync();
      }
    }
  }