WebPagetest Forums
Setting localstorage values - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Setting localstorage values (/showthread.php?tid=15841)



Setting localstorage values - avaidhy - 07-18-2019 01:39 PM

I am a novice to WPT and tried the following script

exec localStorage.setItem(key,value)

I also tried
exec windows.localStorage.setItem(key,value)
Nothing seem to work.

How do i set values for local storage?