Skip to content

fix(extension): throw clear error for tab creation in protocol v1#1555

Merged
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:fix-tab-creation-v1
Apr 17, 2026
Merged

fix(extension): throw clear error for tab creation in protocol v1#1555
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:fix-tab-creation-v1

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented Apr 17, 2026

Summary

  • When an old CLI sends Target.createTarget via forwardCDPCommand (protocol v1), the extension now throws a clear error suggesting to update Playwright MCP or CLI, instead of causing a cryptic _page failure.
  • This allows pushing the extension update to guide users with older CLIs toward upgrading.

When an old CLI sends `Target.createTarget` via `forwardCDPCommand`,
the extension now throws a clear error suggesting to update
Playwright MCP or CLI instead of causing a cryptic failure.
@yury-s yury-s merged commit 01adf2d into microsoft:main Apr 17, 2026
5 of 6 checks passed
PM-Labs pushed a commit to PM-Labs/mcp-playwright that referenced this pull request Apr 19, 2026
…crosoft#1555)

## Summary
- When an old CLI sends `Target.createTarget` via `forwardCDPCommand`
(protocol v1), the extension now throws a clear error suggesting to
update Playwright MCP or CLI, instead of causing a cryptic `_page`
failure.
- This allows pushing the extension update to guide users with older
CLIs toward upgrading.
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.

2 participants