From 28442a982a287f2632b50c6a0266c856547ba4de Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Mon, 15 Apr 2024 02:34:09 +0800 Subject: [PATCH] do not open devtools after browser launch --- packages/geek-auto-start-chat-with-boss/index.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/geek-auto-start-chat-with-boss/index.mjs b/packages/geek-auto-start-chat-with-boss/index.mjs index 8d37672..a811b81 100644 --- a/packages/geek-auto-start-chat-with-boss/index.mjs +++ b/packages/geek-auto-start-chat-with-boss/index.mjs @@ -79,8 +79,7 @@ export async function mainLoop (hooks) { defaultViewport: { width: 1440, height: 900 - 140, - }, - devtools: true + } }) hooks.puppeteerLaunched?.call()