puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.configuration.temporarydirectory.md
2022-11-03 11:02:28 +01: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()