How to clear browser cookies using Selenium Web Driver and C#
<p>As with the title, how to clear browser cookies using Selenium Web Driver and C#?</p>

<pre><code>IWebDriver driver = new FirefoxDriver();
driver.Manage().Cookies.DeleteAllCookies(); //delete all cookies
System.Threading.Thread.Sleep(5000);
</code></pre>

<p>I tried the above code but it is not deleting the session data.</p>