---
title: browser.screenshotDirectory | Config
outline: deep
---

# browser.screenshotDirectory

- **Type:** `string`
- **Default:** `__screenshots__` in the test file directory

Path to the screenshots directory relative to the `root`.
