title: How to delete cookies?
body: <p>I want to delete cookies programmatically.</p>
  
  <p>More specifically, I am using <a href="http://htmlunit.sourceforge.net/" rel="nofollow noreferrer">HtmlUnit</a> with Java to automate browser operations. After performing some operations I want to clear cookies so that my subsequent operations make sense. How can I clear cookies through HtmlUnit or through Java or through any other way automatically.</p>