Is it possible to delete Session Storage keys?

Another day, another query… :slight_smile:

I am aware of the deleteAllVisibleCookies and deleteAllCookies commands, however, the value I need to purge is one stored within Session Storage.

So it is not listed in Chrome as a Cookie in use by the site, but instead, it shows that this value is being stored as a key within Session Storage.

Is there a way to purge / delete this value using Katalon Recorder?

Thanks!

I think dedicated commands are not available now, but you can you “runScript” command to purge the data using JavaScript.

Thanks Alex, that solved the issue. I just needed to include “runScript” with Target set to “sessionStorage.removeItem(“SessionKeyName”);” and it did the trick.