-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Use Case
We needed to test a browser extension using an AI assistant and chrome-devtools-mcp. The extension had RTL positioning fixes that required testing with actual form fields.
Current Behavior
When using --chromeArg="--load-extension=/path/to/extension", the extension doesn't load because chrome-devtools-mcp launches Chrome with --disable-extensions by default, which overrides the --load-extension flag.
Proposed Solution
When --load-extension is detected in Chrome arguments, automatically set enableExtensions: true instead of the default false.
Real-World Impact
This change would enable:
- Testing browser extensions during development
- AI-assisted debugging of extension functionality
- Automated extension testing workflows
Current Workaround
We had to patch the package locally (see this commit) which works but isn't ideal for distribution.
Implementation
Could check for --load-extension in the Chrome args and automatically enable extensions when detected, rather than requiring manual patching.