public void TearDown() { ErrorHandle errorHandle = new ErrorHandle(); errorHandle.takeScreenshot(driver); driver.Close(); driver.Quit(); }