> 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-cookie.md). Agents can also search and read this documentation through its [MCP server](https://docs.does.qa/~gitbook/mcp).

# Delete Cookie

Delete a specific browser cookie.

Delete Cookie removes one named cookie from the browser. Use it to reset session state or clear a cookie before the next step runs.

![Delete cookie Test Step](https://static.does.qa/assets/nodes/data_cookie_delete.png)

## When to use it

* Remove a session cookie to simulate logout before a login Flow.
* Clear a tracking or consent cookie before asserting default behaviour.
* Prefer [Delete Cookies](https://docs.does.qa/test-steps/data/delete-cookies.md) when every cookie on the page should be removed.

## Configure

### Basics

| Field           | What to set                  |
| --------------- | ---------------------------- |
| **Cookie Name** | Name of the cookie to delete |

### Advanced

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

## Related

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

**Tags:** `data`, `cookie`, `delete`
