Repository navigation
docs(readme): require playwright 1.59+ for the local cli fallback - #532
Closed
Toto Leung (chintoleung) wants to merge 1 commit into
Closed
Toto Leung (chintoleung) wants to merge 1 commit into
Toto Leung (chintoleung) wants to merge 1 commit into
Conversation
PhanHa1707
pushed a commit
to PhanHa1707/playwright-cli
that referenced
this pull request
Nov 11, 2026
…crosoft#536) ## Summary - State that the local `npx playwright cli` fallback needs Playwright 1.59 or newer. Closes microsoft#532 Refs microsoft/playwright#44031
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npx --no-install playwright --versionpasses on any localPlaywright, but the
clisubcommand first works in 1.59; on ≤1.58 allnpx playwright cli <command>invocations fail witherror: unknown command 'cli'.npx --no-install playwright cli listthe deciding probe,route both failure branches (too old / no local install) to the global install, and keep
--no-installon subsequent project-local invocations.(docs(cli): require playwright 1.59+ for the local cli fallback in the skill playwright#44032); the generated
skills/copy hereupdates when a roll brings in a Playwright build that contains it. Once a roll ships the
new bundled skill, users whose installed skill predates it will see
skillCheck.jsaskthem to reinstall — expected.
Validation
macOS 27.0.1 (Apple Silicon), Node 24.21.0, npm 11.19.0, via npx; not tested on Windows:
cli --helpcli list--no-install, cold and warm npx cache)error: unknown command 'cli'(1.55.1, 1.56.1, 1.57.0, 1.59.1, 1.62.1 spot-checked; full matrix in
microsoft/playwright#44031.)
cli liststarted no browser/daemon and created no.playwright/.Refs microsoft/playwright#44031