Commit Graph

1 Commits

Author SHA1 Message Date
Atlas
d883fb6b06 feat(browser): add chromeFlags support for browser profiles
Adds support for custom Chrome command-line flags via browser profile configuration.

This enables users to:
- Bypass automation detection when using browser extensions
- Enable experimental Chrome features
- Adjust performance/security settings
- Work around site compatibility issues

Usage:
{
  "browser": {
    "profiles": {
      "stealth": {
        "chromeFlags": [
          "--disable-blink-features=AutomationControlled",
          "--disable-features=IsolateOrigins,site-per-process"
        ]
      }
    }
  }
}

Changes:
- Add chromeFlags?: string[] to BrowserProfileConfig type
- Pass chromeFlags through config resolution
- Apply flags in launchClawdChrome()
- Add comprehensive documentation with examples

Fixes compatibility issues with password managers, SSO extensions,
web wallets, and other browser extensions that fail when Chrome
detects automation.
2026-01-27 14:24:31 -08:00