@newuserkantu suggestion is the best solution. If you only need to remove cookies then UI.Vision has the Selenium IDE delete all cookies command. But this removes only the cookies.
But this is not as thorough as cleaning all cookies and more directly via keystrokes. This is not a bug in RPA, but simply a limitation of the Chrome extension API. Extensions can only clean cookies. The shortcut shift+Ctrl+delete
can clean cookies and the browser cache and autocomplete and the browsing history. So the command to clear everything is:
-
XTYPE | ${KEY_SHIFT+KEY_CTRL+KEY_DELETE}
and then XTYPE | ${KEY_ENTER}
On macOS the delete history shortcut is shift+command+delete
.
PS: See delete cookies and cache for macro source code.