title: Read from html 5 local storage with selenium
body: <p>I am using selenium web driver in c#.
  when i write to local storage with JavaScript method it works fine 
  ( i can see the values in the html page with inspect ), but if i try to read from local storage  what i just wrote it returns Null.
  Thanks for any help .</p>
  
  <p>Writing (works):</p>
  
  <pre><code>IJavaScriptExecutor js = (IJavaScriptExecutor)driver;      
  js.ExecuteScript("localStorage.setItem('key','value');");  
  </code></pre>
  
  <p>Reading (returns Null ):</p>
  
  <pre><code>Object Value= js.ExecuteScript("localStorage.getItem('key')");
  </code></pre>