Skip to content

v0.0.22

Latest

Choose a tag to compare

@wn0x00 wn0x00 released this 14 Apr 03:48

Fixes

  • Fix --extension flag being silently ignored in run-script: handleRunScript was overwriting the --extension option parsed from global args with default values from parsePwCliGlobalOptions. This caused all pw-cli --extension run-script commands to fall through to the CDP daemon path instead of the extension relay.

  • Align extension token passing with official @playwright/mcp: Pass PLAYWRIGHT_MCP_EXTENSION_TOKEN via chrome-extension:// URL params (not relay URL query string), matching upstream behavior for auto-authorization.

Changes

  • Remove server-side token validation on extension WebSocket (matches upstream)
  • Support configurable extension ID via PLAYWRIGHT_MCP_EXTENSION_ID env var
  • Add newTab and protocolVersion params to extension connect URL