I\'m using Protractor (with Jasmine) to test my AngulaJs application.
As result of some of my action I get some data saved in the localStorage. Now I need to test ot
It's because you haven't navigated to a valid url yet. Do a browser.get('/foo') before trying to interact with page objects like localStorage.
browser.get('/foo')
localStorage