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

# Add Header

Add one HTTP header to the active browser session.

Add Header adds a single HTTP header to the active browser session. Use it when one header must be present for the next navigation or request.

![Add header Test Step](https://static.does.qa/assets/nodes/runner_header_add.png)

## When to use it

* Send an auth or trace header required by your application gateway.
* Add a one-off header before a single navigation step.
* Prefer [Set headers](https://docs.does.qa/test-steps/runner/set-header.md) when the Flow needs a full header map at once.

## Configure

### Basics

| Field     | What to set                                                                       |
| --------- | --------------------------------------------------------------------------------- |
| **Key**   | Header name                                                                       |
| **Value** | Header value as text and/or a [Value](https://docs.does.qa/values/value-store.md) |

### 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

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

**Tags:** `runner`, `header`, `add`
