protected virtual void Dispose(bool disposing) { if (!disposedValue) { if (disposing) { // Dispose managed state (managed objects). WebDriver.StopBrowser(); DisposeDriverService.FinishHim(Browser); } // Set large fields to null. disposedValue = true; } }
public static void AssemblyCleanUp() { DisposeDriverService.FinishHim(_driver); }