From 8d48235d3a655b16feadcbe4552b87978c1bebfc Mon Sep 17 00:00:00 2001 From: Sid Date: Thu, 5 Mar 2026 23:22:47 +0800 Subject: [PATCH] fix(browser): remove deprecated --disable-blink-features=AutomationControlled flag - Removes OpenClaw's default `--disable-blink-features=AutomationControlled` Chrome launch switch to avoid unsupported-flag warnings in newer Chrome (#35721). - Preserves compatibility for older Chrome via `browser.extraArgs` override behavior (source analysis: #35770, #35728, #35727, #35885). - Synthesis attribution: thanks @Sid-Qin, @kevinWangSheng, @ningding97, @Naylenv, @clawbie. Source PR refs: #35734, #35770, #35728, #35727, #35885 Co-authored-by: Sid-Qin Co-authored-by: kevinWangSheng Co-authored-by: ningding97 Co-authored-by: Naylenv Co-authored-by: clawbie Co-authored-by: Takhoffman --- src/browser/chrome.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/browser/chrome.ts b/src/browser/chrome.ts index 48767dbcf22..f610b74caaa 100644 --- a/src/browser/chrome.ts +++ b/src/browser/chrome.ts @@ -266,9 +266,6 @@ export async function launchOpenClawChrome( args.push("--disable-dev-shm-usage"); } - // Stealth: hide navigator.webdriver from automation detection (#80) - args.push("--disable-blink-features=AutomationControlled"); - // Append user-configured extra arguments (e.g., stealth flags, window size) if (resolved.extraArgs.length > 0) { args.push(...resolved.extraArgs);