2022-10-21 13:09:21 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Configuration.temporaryDirectory
|
|
|
|
---
|
|
|
|
|
|
|
|
# Configuration.temporaryDirectory property
|
|
|
|
|
2022-10-24 07:07:05 +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:09:21 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface Configuration {
|
|
|
|
temporaryDirectory?: string;
|
|
|
|
}
|
|
|
|
```
|
2022-10-24 07:07:05 +00:00
|
|
|
|
|
|
|
#### Default value:
|
|
|
|
|
|
|
|
`os.tmpdir()`
|