title: Close Chrome Web Driver on Windows Form Closing
body: <p>I have a relatively easy question but I can't seem to find an answer anywhere. Whenever I close my Windows Form with the Selenium Chrome Web driver open it will close the Windows Form/Application, but leave the Chrome console and browser open. Is there any way to use driver.Quit() or .Close(); when the form is closing? Something like my example below.</p>
  
  <pre><code>    private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e)
      {
          driver.Quit();
      }
  </code></pre>