puppeteer/website/versioned_docs/version-19.1.2/api/puppeteer.configuration.temporarydirectory.md
2022-10-25 11:12:17 +02:00

352 B

sidebar_label
Configuration.temporaryDirectory

Configuration.temporaryDirectory property

Defines the directory to be used by Puppeteer for creating temporary files.

Can be overridden by PUPPETEER_TMP_DIR.

Signature:

interface Configuration {
  temporaryDirectory?: string;
}

Default value:

os.tmpdir()