refactor: disable quit confirmations in browser

This commit is contained in:
zhom
2025-11-30 20:59:04 +04:00
parent 4b6f08fca3
commit 39c2a9f6f0
3 changed files with 13 additions and 0 deletions
+4
View File
@@ -737,6 +737,10 @@ impl Browser for ChromiumBrowser {
"--disable-background-timer-throttling".to_string(),
"--crash-server-url=".to_string(),
"--disable-updater".to_string(),
// Disable quit confirmation and session restore prompts
"--disable-session-crashed-bubble".to_string(),
"--hide-crash-restore-bubble".to_string(),
"--disable-infobars".to_string(),
];
// Add remote debugging if requested