@@ -81,14 +81,33 @@ private static ChromeOptions getChromeOptions() {
8181 "--allow-running-insecure-content" ,
8282 "--allow-insecure-localhost" ,
8383 "--no-sandbox" , // Required for Docker/CI environments
84- "--disable-dev-shm-usage" , // Overcome limited resource problems in Docker
8584 "--disable-gpu" ,
85+ "--remote-allow-origins=*" ,
86+ "--disable-dev-shm-usage" , // Overcome limited resource problems in Docker
87+ "--enable-logging" ,
88+ // Additional stability flags
8689 "--disable-extensions" ,
8790 "--disable-software-rasterizer" ,
8891 "--disable-background-timer-throttling" ,
8992 "--disable-backgrounding-occluded-windows" ,
9093 "--disable-renderer-backgrounding" ,
91- "--remote-allow-origins=*"
94+ "--disable-blink-features=AutomationControlled" ,
95+ "--disable-features=TranslateUI" ,
96+ "--disable-ipc-flooding-protection" ,
97+ "--disable-hang-monitor" ,
98+ "--disable-prompt-on-repost" ,
99+ "--disable-sync" ,
100+ "--disable-component-extensions-with-background-pages" ,
101+ "--force-color-profile=srgb" ,
102+ "--metrics-recording-only" ,
103+ "--enable-features=NetworkService,NetworkServiceInProcess" ,
104+ "--disable-features=VizDisplayCompositor" ,
105+ "--no-first-run" ,
106+ "--no-default-browser-check" ,
107+ "--disable-default-apps" ,
108+ "--disable-popup-blocking" ,
109+ "--test-type" ,
110+ "--disable-infobars"
92111 );
93112 options .setAcceptInsecureCerts (true );
94113
0 commit comments