Skip to content

fix(mcp): git-ignore the default output directory - #44291

Open
Lazizbek Ergashev (lazerg) wants to merge 1 commit into
microsoft:mainfrom
lazerg:fix-44289
Open

Lazizbek Ergashev (lazerg) wants to merge 1 commit into
microsoft:mainfrom
lazerg:fix-44289

Conversation

@lazerg

Copy link
Copy Markdown
Contributor

Summary

  • The MCP server writes page snapshots and console logs to .playwright-mcp/ in the workspace, which is usually a git repository, so they show up as untracked files and can be committed with git add -A. When it writes to the default output folder, it now also creates .playwright-mcp/.gitignore with *, the same way venv does. A custom outputDir and the CLI's .playwright-cli/ are left as they are.

Fixes #44289

This branch has not been deployed

No deployments
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]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)

1 participant