> For the complete documentation index, see [llms.txt](https://docs.does.qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.does.qa/test-steps/data/delete-all-localstorage.md). Agents can also search and read this documentation through its [MCP server](https://docs.does.qa/~gitbook/mcp).

# Delete All LocalStorage

Delete all browser local storage items.

Delete All LocalStorage clears every key in browser `localStorage` for the current origin. Use it when the Flow needs a blank client store before the next page load.

![Delete All localStorage Test Step](https://static.does.qa/assets/nodes/data_localStorage_deleteAll.png)

## When to use it

* Reset persisted UI preferences between Test Cases on the same runner.
* Clear leftover feature flags before opening the application fresh.
* Prefer [Delete LocalStorage](https://docs.does.qa/test-steps/data/delete-localstorage.md) when only one key should change.

## Configure

### Basics

This step has no required fields. It removes all `localStorage` keys for the active origin.

### Advanced

| Field              | What to set                                                              |
| ------------------ | ------------------------------------------------------------------------ |
| **Status on fail** | [Failed Status](https://docs.does.qa/test-step-options/failed-status.md) |

## Related

* [Delete LocalStorage](https://docs.does.qa/test-steps/data/delete-localstorage.md)
* [Set LocalStorage](https://docs.does.qa/test-steps/data/set-localstorage.md)
* [Store LocalStorage](https://docs.does.qa/test-steps/data/store-localstorage.md)
* [Data](https://docs.does.qa/test-steps/data.md)

**Tags:** `data`, `localStorage`, `deleteAll`
