Skip to main content
Version: 19.5.1

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()