chore(extension): warn when Playwright Extension is missing from profile#40406
chore(extension): warn when Playwright Extension is missing from profile#40406yury-s merged 2 commits intomicrosoft:mainfrom
Conversation
Before launching Chrome, the MCP relay now checks whether the Playwright Extension is present in the target user-data-dir — either via Default/Extensions/<id> (web store) or the id appearing in Default/Preferences (load-unpacked). If it's missing, we log a hint with the install URL to stderr and continue (previous behaviour was a 5s connection timeout). Also extracts the Chromium channel → default user-data-dir map into a shared packages/utils/chromiumChannels.ts used by chromium.ts and the MCP relay. cli-client/channelSessions.ts keeps its own copy because its strict per-file build can't resolve @utils/* at runtime.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Update the test to assert on the tool-call error response.
Test results for "tests 1"6 flaky41451 passed, 847 skipped Merge workflow run. |
Test results for "MCP"29 failed 6582 passed, 916 skipped Merge workflow run. |
Summary
Default/Extensions/<id>(web store install) with a fallback of greppingDefault/Preferencesfor the id (--load-extension).packages/utils/chromiumChannels.ts, used bychromium.tsand the MCP relay.cli-client/channelSessions.tskeeps its own copy since its strict per-file build can't resolve@utils/*at runtime.