mirror of
https://github.com/web-infra-dev/midscene.git
synced 2025-12-27 06:59:10 +00:00
feat: disable http warning in yaml mode (#556)
This commit is contained in:
parent
0ca9fda7ae
commit
027283aaac
@ -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}"`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user