> 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).

# Delete All LocalStorage

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://app.does.qa/screenshots/node/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](/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](/test-step-options/failed-status.md) |

## Related

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

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