public void ScrapeTrainings( IEnumerable<RawTraining> trainings, AuthenticationParameters authenticationParameters) { try { _driver = new Browser(); Login(authenticationParameters); trainings.ToList().ForEach(ParseTraining); } finally { _driver.Close(); } }