> 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/mail/close-inbox.md).

# Close Inbox

Close Inbox closes open DoesQA inbox tabs or windows in the Test Runner. Use it when you are finished with mail steps and want the browser back on your application.

![Close Inbox Test Step](https://app.does.qa/screenshots/node/mail_inbox_close.png)

## When to use it

* Close the inbox after Open Email or Select Email when later steps continue on the app.
* Keep the Flow tidy when several mail steps opened the inbox UI.

## Configure

### Advanced

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

## Related

* [Open Inbox](/test-steps/mail/open-inbox.md)
* [Open Email](/test-steps/mail/open-email.md)
* [Mail](/test-steps/mail.md)

**Tags:** `mail`, `inbox`, `close`
