You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configurable post-action settle delay — tune how long the CLI waits for the page to settle after each action. (microsoft/playwright#41924)
Fixes
feat(mcp): emit structured snapshot in --json responses — --json no longer wraps formatted text in a string; responses carry a structured page snapshot. (microsoft/playwright#42076, microsoft/playwright#42098)
fix(cli): exit with non-zero code when the tool result is an error — failed commands no longer exit with status 0, so scripts and agents can detect errors. (microsoft/playwright#42028, microsoft/playwright#42042)
fix(mcp): clear dialog modal state when dialog is closed out of band — dialogs dismissed by hand in headed mode no longer leave the session stuck in a modal state. (microsoft/playwright#42032)
fix(mcp): report malformed JSON config instead of falling back to INI — a broken JSON config file now produces a clear error instead of being silently parsed as INI. (microsoft/playwright#41909)
fix(mcp): surface the missing executable path when a browser isn't installed — clearer error message pointing at the missing browser executable. (microsoft/playwright#41941)
fix(mcp): identify downloads explicitly — downloads are labeled explicitly in command responses. (microsoft/playwright#41933)
fix(mcp): validate Host and Origin on CDP relay WebSocket upgrades — hardens the extension relay against unauthorized cross-origin connections. (microsoft/playwright#42103)
fix(mcp): escape user input in codegen output — special characters in your input are escaped correctly in the generated code. (microsoft/playwright#41962)
fix(mcp): mention PLAYWRIGHT_MCP_EXECUTABLE_PATH in extension not found error — points at the escape hatch when the extension browser can't be located (e.g. on WSL2). (microsoft/playwright#42092, microsoft/playwright#42122)
perf(mcp): skip aria snapshot capture when the response discards it — commands that don't need a snapshot run faster. (microsoft/playwright#41923)
The v0.1.17 fix for goto crashing on privileged pages (chrome://…) was reverted upstream: the crash originates in the browser process itself, and the fix only masked it. (microsoft/playwright#41931)