puppeteer/website/versioned_docs/version-19.5.2/api/puppeteer.configuration.temporarydirectory.md

22 lines
352 B
Markdown
Raw Normal View History

2022-10-21 13:52:43 +00:00
---
sidebar_label: Configuration.temporaryDirectory
---
# Configuration.temporaryDirectory property
2022-10-24 14:31:12 +00:00
Defines the directory to be used by Puppeteer for creating temporary files.
Can be overridden by `PUPPETEER_TMP_DIR`.
#### Signature:
2022-10-21 13:52:43 +00:00
```typescript
interface Configuration {
temporaryDirectory?: string;
}
```
2022-10-24 14:31:12 +00:00
#### Default value:
`os.tmpdir()`