From 7f60e22b4ff786b90e2b9b73f3c414020bafc31e Mon Sep 17 00:00:00 2001 From: Chris Johnson <49479599+workeffortwaste@users.noreply.github.com> Date: Tue, 3 Dec 2024 09:45:10 +0000 Subject: [PATCH] Remove timeweb debug log --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2c66a39..b77008f 100644 --- a/index.js +++ b/index.js @@ -290,7 +290,7 @@ const videoExport = async (options) => { if (options.advance === 'timeweb') { /* Load the script */ const timeweb = fs.readFileSync('./node_modules/timeweb/dist/timeweb.js', 'utf8') - log(timeweb, options.verbose) + /* Run the script within the page context */ await page.evaluateOnNewDocument(timeweb => { eval(timeweb) }, timeweb) }