tuna-agent 0.1.95 → 0.1.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -434,9 +434,13 @@ export async function launchChrome(opts = {}) {
|
|
|
434
434
|
if (!isExistingProfile) {
|
|
435
435
|
args.push('--disable-blink-features=AutomationControlled');
|
|
436
436
|
}
|
|
437
|
-
//
|
|
438
|
-
if (process.platform === 'linux')
|
|
437
|
+
// Password/cookie storage: avoid OS keychain prompts during automation
|
|
438
|
+
if (process.platform === 'linux') {
|
|
439
439
|
args.push('--password-store=basic');
|
|
440
|
+
}
|
|
441
|
+
else if (process.platform === 'darwin') {
|
|
442
|
+
args.push('--use-mock-keychain');
|
|
443
|
+
}
|
|
440
444
|
if (opts.headless) {
|
|
441
445
|
args.push('--headless=new', '--disable-gpu');
|
|
442
446
|
}
|