title: Protractor - Clear LocalStorage to Loss Connection on Spec
body: <p>I'm using <code>window.localStorage.removeItem("name of localStorage variable you want to remove");</code> to delete two different localStorage Keys in a spec, they're successfully deleted.</p>
  
  <p>The next step is to enter another page of my application to display a dialog that ask you to log in again due to session lost, but doing this with protractor doesn't not work even that the localStorage keys are cleared correctly, but doing it manually (deleting them giving right click and Delete), it works and dialog pops up.</p>
  
  <p>What could be the problem?</p>