Features
-
microsoft/playwright@c813e9cf5 feat(mcp): allow saving videos for sessions microsoft/playwright#37531
# video is saved from the creation of the page to the closure of the context (browser_close call). npx @playwright/mcp --save-video=800x600
-
microsoft/playwright@fff065816 feat(mcp): add --init-script option microsoft/playwright#37507
# the code in web-mocks.js will run on page initialization npx @playwright/mcp --init-script=./web-mocks.js
-
microsoft/playwright@1313fbd47 chore(mcp): introduce allowed-hosts microsoft/playwright#37541
# Runs MCP server only accessible on 192.168.1.10, defense from DNS rebind npx @playwright/mcp --allowed-hosts=192.168.1.10:8080 --port=8080
Bugfixes
- microsoft/playwright@da333232e fix(mcp): snapshot for ai fixes microsoft/playwright#37527
- microsoft/playwright@499d084a5 fix(session): an extra check for session log microsoft/playwright#37508
- microsoft/playwright@2f820cb20 fix(mcp): lax file path sanitization microsoft/playwright#37502