Skip to content

env variable PLAYWRIGHT_MCP_NO_SANDBOX should be changed to PLAYWRIGHT_MCP_SANDBOX in README #281

@Nebularaid2000

Description

@Nebularaid2000

Problem:
I was trying to use playwright-cli in a sandbox as a root user.
playwright-cli open https://www.google.com failed.
Then I tried setting PLAYWRIGHT_MCP_NO_SANDBOX to 1, but it still failed.
After investigating the source code, I found that the env variable has been changed to PLAYWRIGHT_MCP_SANDBOX, and setting this env variable to 0 fixed my problem

playwright cli version: 1.59.0-alpha-1771104257000

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