Back to Playground
Browser Storage

Storage & cookies playground

Live viewers for localStorage, sessionStorage, and cookies. Use LessTest's storage tools to set values, then verify them here—or add values manually and assert with Get Local Storage / Get Session Storage.

Local Storage

0 items

LessTest can set, get, and remove values. This viewer shows current state.

No entries. Add one above or use LessTest to set values.

Session Storage

0 items

LessTest can set, get, and remove values. This viewer shows current state.

No entries. Add one above or use LessTest to set values.

Cookies

0 items

LessTest can set, get, and remove values. This viewer shows current state.

No entries. Add one above or use LessTest to set values.

How to test browser storage

Setting values

  1. Navigate to this page
  2. Use Set Local Storage with key "theme" and value "dark"
  3. Click Refresh All to see the value appear
  4. Assert the value with Get Local Storage

Verifying cookies

  1. Use Set Cookie with name, value, and this page's URL
  2. Reload the page with Reload Page
  3. Assert the cookie count or value with Assert Text
  4. Clean up with Delete Cookie