public void FirefoxTest() { FirefoxWindow firefoxWindow = null; try { firefoxWindow = Firefox.Launch("about:blank"); Assert.That(firefoxWindow, Is.Not.Null); } finally { if (firefoxWindow != null) { firefoxWindow.Dispose(); } } }
public void TearDown() { firefoxWindow.Dispose(); }
public void Dispose() { firefoxWindow.Dispose(); }