Skip to content

docs(cli): require playwright 1.59+ for the local cli fallback in the skill - #44032

Closed
Toto Leung (chintoleung) wants to merge 1 commit into
microsoft:mainfrom
chintoleung:docs-cli-159-floor
Closed

Toto Leung (chintoleung) wants to merge 1 commit into
microsoft:mainfrom
chintoleung:docs-cli-159-floor

Conversation

@chintoleung

@chintoleung Toto Leung (chintoleung) commented Nov 10, 2026 •

Copy link
Copy Markdown

Summary

  • The skill's local fallback check (npx --no-install playwright --version) passes on
    Playwright ≤1.58, but the cli subcommand first works in 1.59, so every
    npx playwright cli <command> fails with error: unknown command 'cli'.
  • State the 1.59 minimum, make npx --no-install playwright cli list the deciding probe
    (run from the directory that declares the Playwright dependency), route both failure
    branches to the global install, and keep --no-install on subsequent project-local
    invocations.
  • On 1.60 and newer the local cli --help lists the commands the installed version
    supports; root commands (playwright open, screenshot) are noted as separate commands,
    not substitutes.

Companion PRs: microsoft/playwright-cli microsoft/playwright-cli#532, microsoft/playwright.dev microsoft/playwright.dev#2184.

Refs #44031

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.

2 participants