Skip to content

--version prints Playwright version instead of @playwright/cli version #266

@chenrui333

Description

@chenrui333

Summary

playwright-cli --version reports the bundled playwright package version instead of @playwright/cli version in 0.1.1.

Repro

npm i -g @playwright/cli@0.1.1
playwright-cli --version

Actual

1.59.0-alpha-1771104257000

Expected

0.1.1 (the @playwright/cli package version)

Notes

0.1.0 reported 0.1.0, while 0.1.1 switched entrypoint behavior and now resolves version from playwright internals.

Homebrew context: Homebrew/homebrew-core#267647

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