Skip to content

install-browser command doesn't exist #292

@uiii

Description

@uiii

The help is showing the command exists:

playwright-cli - run playwright mcp commands from terminal

Usage: playwright-cli <command> [args] [options]
Usage: playwright-cli -s=<session> <command> [args] [options]

...

Install:
  install                     initialize workspace
  install-browser             install browser

...

Even

$ PLAYWRIGHT_MCP_BROWSER=firefox playwright-cli open https://example.com
Browser "firefox" is not installed. Run `playwright-cli install-browser firefox` to install

But

$ playwright-cli install-browser firefox
### Browser `default` opened with pid 15038.
- default:
  - browser-type: chromium
  - user-data-dir: <in-memory>
  - headed: false
---
error: too many arguments: expected 0, received 1

It behaves like the install-browser is ignored and runs the open command. I also checked the source code and I haven't found any install-browser command.

Using @playwritght/cli@0.1.1

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