MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / tmpDir

Function tmpDir

javascript/selenium-webdriver/io/index.js:181–183  ·  view source on GitHub ↗

* @return {!Promise } A promise for the path to a temporary directory. * @see https://www.npmjs.org/package/tmp

()

Source from the content-addressed store, hash-verified

179 * @see https://www.npmjs.org/package/tmp
180 */
181function tmpDir() {
182 return checkedCall((callback) => tmp.dir({ unsafeCleanup: true }, callback))
183}
184
185/**
186 * @param {{postfix: string}=} opt_options Temporary file options.

Callers

nothing calls this directly

Calls 1

checkedCallFunction · 0.85

Tested by

no test coverage detected