I want to delete specific record in localStorage in Selenium -


I am trying to do the following in Selenium IDE in Firefox:

I have a key Which was discarded GraphHelp I am trying to delete it in script in my local storage, but it does nothing.

  getEval (with target) localStorage.removeItem ('dismissGraphHelp');  

How to obtain the key?

If possible, I have to purify all local storage.

OK, got it. To purify local storage under Selenium IDE / Firefox, I did the following:

  command: getEval target: window.localStorage.clear ();  

Comments