This plugin is created to help users to capture cookies from all domains just by opening a URL in the browser either in same window or new windows. This will be a boon to users who are using automation tools like WebDriver where there is no support for interacting with browser menu options.
Alternately, user can still use menu option 'Get all Cookies in XML' under tools to save all the cookies in an xml file.
To capture cookies at any moment, open the URL chrome://getAllCookies/content/getAllCookies.xul or click on the menu option which will save all cookies in file by name 'cookie.xml' directly under current profile directory.
The XML schema is as follows:
Having access to this file user can now parse or search for specific cookies using any XML parsing mechanism.
Refer to My Blog
for more details.