Deletecookie

This command allows you to remove cookies by name from your Selenium session.

Required Attributes
name
the name of the cookie to be deleted.
path
the path property of the cookie to be deleted.
Usage Examples
Example #1
<selenium baseurl="http://www.yahoo.com" browser="*firefox">
   
<open url="/" />
   
<waitForPageToLoad timeout="30000" />
   
<createCookie nameValuePair="C=D" optionsString="path=/" />
   
<deleteCookie name="C=D" path="/" />
</selenium>