Skip to content

Commit 59e77ec

Browse files
committed
Update default Chromium options
1 parent b8996a6 commit 59e77ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,7 @@ def _set_chrome_options(
16591659
if user_agent:
16601660
chrome_options.add_argument("--user-agent=%s" % user_agent)
16611661
chrome_options.add_argument("--safebrowsing-disable-download-protection")
1662+
chrome_options.add_argument("--disable-search-engine-choice-screen")
16621663
chrome_options.add_argument("--disable-browser-side-navigation")
16631664
chrome_options.add_argument("--disable-save-password-bubble")
16641665
chrome_options.add_argument("--disable-single-click-autofill")
@@ -3221,6 +3222,7 @@ def get_local_driver(
32213222
"--disable-autofill-keyboard-accessory-view[8]"
32223223
)
32233224
edge_options.add_argument("--safebrowsing-disable-download-protection")
3225+
edge_options.add_argument("--disable-search-engine-choice-screen")
32243226
edge_options.add_argument("--disable-browser-side-navigation")
32253227
edge_options.add_argument("--disable-translate")
32263228
if not enable_ws:

0 commit comments

Comments
 (0)