do not open devtools after browser launch

This commit is contained in:
geekgeekrun
2024-04-15 02:34:09 +08:00
parent 24576fa2c0
commit 28442a982a

View File

@@ -79,8 +79,7 @@ export async function mainLoop (hooks) {
defaultViewport: {
width: 1440,
height: 900 - 140,
},
devtools: true
}
})
hooks.puppeteerLaunched?.call()