public void Stop() { if (Browser is null) { return; } try { Browser.Quit(); Browser.Dispose(); WebServer.Stop(); } catch (Exception exc) { Debug.WriteLine(exc, "Selenium stop error"); } Browser = null; Trace("Selenium stopped"); }
public void TearDown() { Browser.Quit(); WebServer.Stop(); }
public static void Cleanup() { Browser.Quit(); WebServer.Stop(); }