title: Specflow - Close browser after all tests are done
body: <p>I want to execute two test one by one, following feature examples.
  It work but i don't know how to close browser when second test is done.</p>
  
  <p>I've tried AfterFeature hook but it didnt work. I am just stuck logged in. I want to close browser in this moment</p>
  
  <p>Here is the code</p>
  
  <pre><code>public class LoginSteps
      {
          [BeforeScenario("LoginProperly")]
          public static void BeforeScenario()
          {
              Browser.Initialize();
          }
  
          [AfterScenario("LoginProperly")]
          public static void AfterScenario()
          {
  
              Browser.ClearCache();
          }
  
          [AfterFeature("LoginProperly")]
          public static void AfterFeature()
          {
            Browser.Quit();
  
          }
  
  
          [Given(@"I navigate to login page")]
          public void GivenINavigateToLoginPage()
          {
              Browser.Wait();
              Pages.Navigation.GoToSignIn();
  
          }
  
          [Given(@"I have completed the form with '(.*)' and '(.*)'")]
          public void GivenIHaveCompletedTheFormWithAnd(string email, string password)
          {
              Pages.Login.LogIn(email, password);
          }
  
          [When(@"I press Submit")]
          public void WhenIPressSubmit()
          {
              Pages.Login.ClickLogin();
          }
  
          [Then(@"I should see my account panel")]
          public void ThenIShouldSeeMyAccountPanel()
          {
              Pages.Account.IsAt();
          }
      }
  }
  </code></pre>
  
  <blockquote>
    <p>Feature file</p>
  </blockquote>
  
  <pre><code>Feature: Login
      In order to use my account
      As an application user
      I want to be able to log in and log out
  
  @LoginProperly
  Scenario Outline: Login with correct Email adress and Password
      Given I navigate to login page
      And I have completed the form with '&lt;email&gt;' and '&lt;password&gt;'
      When I press Submit
      Then I should see my account panel
  
      Examples: 
  
      |     email         |  password  |
      | tescik@gmail.com  |   11111    |
      | tescik2@gmail.com |   22222    |
  </code></pre>