I am writing some tests to verify that input data is being stored in local storage correctly, how can I access localStorage from within the protractor test?
...
describe('vgPersist', function() {
it('Should save input data in local storage until form submitted', function() {
// Prepare Object and Open browser
var addOns = new AddOns();
addOns.get();
-> Clear localStorage
-> Get from localStorage
How do you use executeScript? And could I get data from an executeScript?