Skip to content

fix: use correct npm package name @playwright/cli in npx references#328

Open
paolomainardi wants to merge 1 commit intomicrosoft:mainfrom
paolomainardi:fix/npx-package-name
Open

fix: use correct npm package name @playwright/cli in npx references#328
paolomainardi wants to merge 1 commit intomicrosoft:mainfrom
paolomainardi:fix/npx-package-name

Conversation

@paolomainardi
Copy link
Copy Markdown

Summary

The Installation / Local installation sections in both README.md and skills/playwright-cli/SKILL.md reference npx playwright-cli in the prose. However, the correct npm package name is @playwright/cli (scoped). The old playwright-cli package on npm is deprecated:

$ npm view playwright-cli
playwright-cli@0.262.0 | Apache-2.0
DEPRECATED - This package is deprecated, use @playwright/cli instead.

Using npx playwright-cli (without --no-install) will download and run the deprecated package instead of the current one. This is particularly problematic for AI coding agents that use npx -y playwright-cli as a non-interactive fallback.

Changes

  • README.md: Replace npx playwright-cli with npx @playwright/cli in prose (2 lines)
  • skills/playwright-cli/SKILL.md: Same replacement (2 lines)
  • The npx --no-install playwright-cli --version check line is left unchanged since --no-install only resolves locally installed binaries

Fixes #327

The prose in the Installation/Local installation sections recommends
`npx playwright-cli` which downloads the deprecated `playwright-cli`
package (v0.262.0) instead of the current `@playwright/cli`.

The `npx --no-install playwright-cli --version` check is unaffected
since --no-install only resolves locally installed binaries.

Fixes microsoft#327
@paolomainardi
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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.

SKILL.md and README: npx references use deprecated package name playwright-cli instead of @playwright/cli

1 participant