Skip to content

fix(mcp): honor --user-data-dir in extension mode - #42190

Merged
Yury Semikhatsky (yury-s) merged 1 commit into
microsoft:mainfrom
yury-s:fix-42163
Aug 11, 2026
Merged

Yury Semikhatsky (yury-s) merged 1 commit into
microsoft:mainfrom
yury-s:fix-42163

Conversation

@yury-s

Copy link
Copy Markdown
Member

Fixes: #42163

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

8076 passed, 1284 skipped


Merge workflow run.

@yury-s
Yury Semikhatsky (yury-s) merged commit 8723dce into microsoft:main Aug 11, 2026
18 checks passed
@yury-s
Yury Semikhatsky (yury-s) deleted the fix-42163 branch August 11, 2026 16:47
@majurac

majurac commented Aug 25, 2026

Copy link
Copy Markdown

Hi! Just a quick release-status follow-up: PR #42190 has been merged for about two weeks, but the latest @playwright/mcp as well as the current next alpha still pin playwright-core@1.63.0-alpha-2026-08-05, so the published runtime still contains the pre-fix implementation.

Is this expected, or is there a separate release step required before #42190 reaches the published @playwright/mcp package?

Yury Semikhatsky (yury-s) added a commit to microsoft/playwright-mcp that referenced this pull request Sep 1, 2026
## What's New

### New Tools

- **`browser_start_recording` / `browser_stop_recording`** (opt-in via
`--caps=devtools`) — Record actions that the user performs manually in
the browser and return them as Playwright code. Useful when the user
wants to demonstrate a flow instead of describing it
([#42359](microsoft/playwright#42359))

## Bug Fixes

- The default `--codegen` language is inferred from the environment
([#42150](microsoft/playwright#42150))
- Honor `--user-data-dir` in extension mode
([#42190](microsoft/playwright#42190))
- Do not treat orphaned browser preferences entries as an installed
extension ([#42224](microsoft/playwright#42224))
- `browser_take_screenshot` returns the original screenshot bytes
instead of silently downscaling them to model-specific limits
([#42406](microsoft/playwright#42406))
- Drop the cached browser backend after `browser_close` with a shared
browser context, so subsequent tool calls from the same client no longer
fail ([#42365](microsoft/playwright#42365))
- When connected to a remote endpoint, `browserInfo` reports the browser
actually running remotely instead of the configured one
([#42228](microsoft/playwright#42228))
- Do not clobber the `chromiumSandbox` setting from the config file
([#42288](microsoft/playwright#42288))
- Do not run the heartbeat for HTTP clients that have not opened an
event stream
([#42189](microsoft/playwright#42189))
- The internal `/killkillkill` endpoint is no longer registered outside
of tests ([#42133](microsoft/playwright#42133))
Pathfinder Team (PM-Labs) pushed a commit to pmlabs-org/mcp-playwright that referenced this pull request Sep 15, 2026
## What's New

### New Tools

- **`browser_start_recording` / `browser_stop_recording`** (opt-in via
`--caps=devtools`) — Record actions that the user performs manually in
the browser and return them as Playwright code. Useful when the user
wants to demonstrate a flow instead of describing it
([#42359](microsoft/playwright#42359))

## Bug Fixes

- The default `--codegen` language is inferred from the environment
([#42150](microsoft/playwright#42150))
- Honor `--user-data-dir` in extension mode
([#42190](microsoft/playwright#42190))
- Do not treat orphaned browser preferences entries as an installed
extension ([#42224](microsoft/playwright#42224))
- `browser_take_screenshot` returns the original screenshot bytes
instead of silently downscaling them to model-specific limits
([#42406](microsoft/playwright#42406))
- Drop the cached browser backend after `browser_close` with a shared
browser context, so subsequent tool calls from the same client no longer
fail ([#42365](microsoft/playwright#42365))
- When connected to a remote endpoint, `browserInfo` reports the browser
actually running remotely instead of the configured one
([#42228](microsoft/playwright#42228))
- Do not clobber the `chromiumSandbox` setting from the config file
([#42288](microsoft/playwright#42288))
- Do not run the heartbeat for HTTP clients that have not opened an
event stream
([#42189](microsoft/playwright#42189))
- The internal `/killkillkill` endpoint is no longer registered outside
of tests ([#42133](microsoft/playwright#42133))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MCP]: --user-data-dir has no effect when combined with --extension (no warning)

3 participants