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

# Remove All Headers

Clear every HTTP header from the active browser session.

Remove All Headers clears every custom HTTP header from the active browser session. Use it when a later branch should not inherit headers from earlier steps.

![Remove headers Test Step](https://static.does.qa/assets/nodes/runner_header_removeAll.png)

## When to use it

* Reset the browser session before a branch that must use default headers only.
* Clear headers added by [Add header](https://docs.does.qa/test-steps/runner/add-header.md) or [Set headers](https://docs.does.qa/test-steps/runner/set-header.md) before ordinary user navigation.
* Place before [Open](https://docs.does.qa/test-steps/starter/open.md) on a new host when prior headers should not carry over.

## Configure

### Basics

This step has no required fields. It removes all session headers.

### Advanced

| Field                                 | What to set                                                              |
| ------------------------------------- | ------------------------------------------------------------------------ |
| **When should screenshots be taken?** | `Always` or `On Failures` (default)                                      |
| **Status on fail**                    | [Failed Status](https://docs.does.qa/test-step-options/failed-status.md) |

## Related

* [Add header](https://docs.does.qa/test-steps/runner/add-header.md)
* [Set headers](https://docs.does.qa/test-steps/runner/set-header.md)
* [Runner](https://docs.does.qa/test-steps/runner.md)

**Tags:** `runner`, `header`, `removeAll`
