Skip to content

Commit 903587b

Browse files
committed
Update default settings
1 parent d00fba0 commit 903587b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2747,6 +2747,7 @@ def _set_chrome_options(
27472747
chrome_options.add_argument("--disable-renderer-backgrounding")
27482748
chrome_options.add_argument("--disable-backgrounding-occluded-windows")
27492749
chrome_options.add_argument("--disable-client-side-phishing-detection")
2750+
chrome_options.add_argument("--disable-device-discovery-notifications")
27502751
chrome_options.add_argument("--disable-oopr-debug-crash-dump")
27512752
chrome_options.add_argument("--disable-top-sites")
27522753
chrome_options.add_argument("--ash-no-nudges")

seleniumbase/undetected/cdp_driver/config.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,19 +187,23 @@ def __init__(
187187
"--enable-privacy-sandbox-ads-apis",
188188
"--safebrowsing-disable-download-protection",
189189
'--simulate-outdated-no-au="Tue, 31 Dec 2099 23:59:59 GMT"',
190-
"--deny-permission-prompts",
191-
"--disable-application-cache",
192190
"--test-type",
193191
"--ash-no-nudges",
192+
"--password-store=basic",
193+
"--deny-permission-prompts",
194194
"--disable-breakpad",
195195
"--disable-setuid-sandbox",
196196
"--disable-prompt-on-repost",
197+
"--disable-application-cache",
197198
"--disable-password-generation",
199+
"--disable-save-password-bubble",
200+
"--disable-single-click-autofill",
198201
"--disable-ipc-flooding-protection",
199202
"--disable-background-timer-throttling",
200203
"--disable-search-engine-choice-screen",
201204
"--disable-backgrounding-occluded-windows",
202205
"--disable-client-side-phishing-detection",
206+
"--disable-device-discovery-notifications",
203207
"--disable-top-sites",
204208
"--disable-translate",
205209
"--dns-prefetch-disable",

0 commit comments

Comments
 (0)