Accessing Local Storage Variables

Have been working on config that utilizes a value that is stored within the local storage of chrome. Need to pass this variable as a field within a seperate request.

I have tried using javascript execution as follows to pull the variable with no luck.


Help would be appreciated.


continued, limited pics because new user

The expression should be something like

return window.localstorage.getItem("fingerprint");

because if you don’t return anything then it doesn’t assign anything to the output variable (It doesn’t work like the script block). And also I think localStorage is inside the window object.

1 Like