@@ -2738,6 +2738,7 @@ def _set_chrome_options(
27382738 chrome_options .add_argument ("--disable-save-password-bubble" )
27392739 chrome_options .add_argument ("--disable-single-click-autofill" )
27402740 chrome_options .add_argument ("--allow-file-access-from-files" )
2741+ chrome_options .add_argument ("--disable-component-update" )
27412742 chrome_options .add_argument ("--disable-prompt-on-repost" )
27422743 chrome_options .add_argument ("--dns-prefetch-disable" )
27432744 chrome_options .add_argument ("--disable-translate" )
@@ -2766,6 +2767,7 @@ def _set_chrome_options(
27662767 included_disabled_features .append ("OptimizationHints" )
27672768 included_disabled_features .append ("OptimizationHintsFetching" )
27682769 included_disabled_features .append ("Translate" )
2770+ included_disabled_features .append ("ComponentUpdater" )
27692771 included_disabled_features .append ("OptimizationTargetPrediction" )
27702772 included_disabled_features .append ("OptimizationGuideModelDownloading" )
27712773 included_disabled_features .append ("DownloadBubble" )
@@ -4791,6 +4793,7 @@ def get_local_driver(
47914793 if devtools and not headless :
47924794 edge_options .add_argument ("--auto-open-devtools-for-tabs" )
47934795 edge_options .add_argument ("--allow-file-access-from-files" )
4796+ edge_options .add_argument ("--disable-component-update" )
47944797 edge_options .add_argument ("--allow-insecure-localhost" )
47954798 edge_options .add_argument ("--allow-running-insecure-content" )
47964799 if user_agent :
@@ -4849,6 +4852,7 @@ def get_local_driver(
48494852 included_disabled_features .append ("OptimizationHints" )
48504853 included_disabled_features .append ("OptimizationHintsFetching" )
48514854 included_disabled_features .append ("Translate" )
4855+ included_disabled_features .append ("ComponentUpdater" )
48524856 included_disabled_features .append ("OptimizationTargetPrediction" )
48534857 included_disabled_features .append ("OptimizationGuideModelDownloading" )
48544858 included_disabled_features .append ("InsecureDownloadWarnings" )
0 commit comments