Spaces:
Runtime error
Runtime error
Create .puppeteerrc.cjs
Browse files- .puppeteerrc.cjs +9 -0
.puppeteerrc.cjs
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const { join } = require('path');
|
2 |
+
|
3 |
+
/**
|
4 |
+
* @type {import("puppeteer").Configuration}
|
5 |
+
*/
|
6 |
+
module.exports = {
|
7 |
+
// Changes the cache location for Puppeteer.
|
8 |
+
cacheDirectory: join(__dirname, '..', '.cache'), // Assuming this file is located in the root of your project
|
9 |
+
};
|