deleteAllCookies - Selenium IDE
deleteAllVisibleCookies (current domain) - Selenium IDE command
deleteAllCookies clears all cookies stored by Chrome. Together with selectWindows TAB=CLOSEALLOTHER (which closes all open tabs) it is a useful command to “clean up” at the start of a test.
Another option: The Kantu extension supports Google Chrome's incognito mode (stealth mode) - this allows you to start your regression and performance test from a fresh Chrome profile with a clear cache and no cookies. Incognito is even "stronger medicine" than deleteAllVisibleCookies since it also makes sure the browser cache empty. Just remember to check the "Allow in incognito" box for your Kantu addon on the Chrome extension page.
A good test page is http://www.html-kit.com/tools/cookietester/.
Kantu for Chrome Selenium IDE, Firefox IDE Classic, but note that in the classic Firefox Selenium IDE this was called deleteAllVisibleCookies, but we prefer the shorter WebDriver terminology, which uses just deleteAllCookies.
Related Demo Macros
The ready-to-import-and-run source code of all demo macros can be found in the Github repository testmacros folder.
Anything wrong or missing on this page? Suggestions?
...then please contact us.