feat: disable http warning in yaml mode (#556)

This commit is contained in:
yuyutaotao 2025-04-11 10:04:05 +08:00 committed by GitHub
parent 0ca9fda7ae
commit 027283aaac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,6 +87,7 @@ export async function launchPuppeteerPage(
const isWindows = process.platform === 'win32';
const args = [
...(isWindows ? [] : ['--no-sandbox', '--disable-setuid-sandbox']),
'--disable-features=HttpsFirstBalancedModeAutoEnable',
'--disable-features=PasswordLeakDetection',
'--disable-save-password-bubble',
`--user-agent="${ua}"`,