File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,6 @@ def _get_chrome_options(self) -> list[str]:
151151 "--no-default-browser-check" ,
152152 "--disable-background-networking" ,
153153 "--disable-sync" ,
154- "--metrics-recording-only" ,
155154 "--disable-hang-monitor" ,
156155 "--disable-prompt-on-repost" ,
157156 "--max_old_space_size=4096" ,
@@ -165,6 +164,12 @@ def _get_chrome_options(self) -> list[str]:
165164 "--disable-features=BlockInsecurePrivateNetworkRequests" ,
166165 "--allow-running-insecure-content" ,
167166 "--disable-client-side-phishing-detection" ,
167+ # Prevent metrics accumulation to avoid disk space issues
168+ "--disable-metrics" ,
169+ "--disable-metrics-reporting" ,
170+ "--disable-crash-reporter" ,
171+ "--disk-cache-size=1" ,
172+ "--media-cache-size=1" ,
168173 ]
169174
170175 if platform .system () == "Darwin" :
You can’t perform that action at this time.
0 commit comments