Skip to content

README still documents removed --output-mode and incorrect stdout default #1680

Closed
microsoft/playwright
#41833

Description

@HMWCS

Summary

The README currently documents --output-mode and says its default is stdout:
https://github.com/microsoft/playwright-mcp/blob/main/README.md#configuration-file

However, microsoft/playwright#39768 was merged on 2026-03-19 and explicitly removed the outputMode config option. Its summary says non-explicit snapshots go to files, while only explicit browser_snapshot calls are inline:
microsoft/playwright#39768

Observed behavior

With @playwright/mcp 0.0.78 started as follows:

pnpm dlx @playwright/[email protected] --shared-browser-context --port 8931 --output-dir /tmp/playwright-mcp-output

After browser_navigate and browser_click calls, page-.yml and console-.log files are created under the output directory even though no --output-mode is specified.

This behavior matches #39768, but contradicts the README statement that stdout is the default.

Expected documentation

Please remove or update the stale --output-mode entry and document the current artifact behavior. If released CLIs still expose the removed option, please either remove it or make its behavior explicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions