Skip to content

docs: document install-script blocking for browser helper packages#41084

Open
yury-s wants to merge 1 commit into
microsoft:mainfrom
yury-s:docs-41083
Open

docs: document install-script blocking for browser helper packages#41084
yury-s wants to merge 1 commit into
microsoft:mainfrom
yury-s:docs-41083

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented Jun 1, 2026

Summary

  • Document that some package managers (pnpm, Yarn Berry, Bun, Deno, npm per RFC #868) block dependency install scripts by default, which affects the browser-downloading helper packages.
  • Explain how to opt back in (allowScripts / npm approve-scripts) or fall back to npx playwright install <browser>.
  • Note added to the docs site and the 6 helper package READMEs.

Fixes #41083

Some package managers (pnpm, Yarn Berry, Bun, Deno, and npm following
RFC microsoft#868) block dependency install scripts by default. Document how to
opt back in or fall back to `npx playwright install <browser>` for the
browser-downloading helper packages.

Fixes: microsoft#41083
@yury-s
Copy link
Copy Markdown
Member Author

yury-s commented Jun 1, 2026

$ pnpm i @playwright/chromium already prints a message with the instructions, so we probably don't need this:

image

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Test results for "MCP"

7230 passed, 1103 skipped


Merge workflow run.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

Test results for "tests 1"

2 flaky ⚠️ [firefox-library] › library/har-websocket.spec.ts:170 › should record websocket connection failure `@firefox-ubuntu-22.04-node20`
⚠️ [playwright-test] › ui-mode-trace.spec.ts:189 › should show snapshots for steps `@windows-latest-node20`

39457 passed, 775 skipped


Merge workflow run.

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.

[Docs]: npm RFC #868 will block this package's install script by default

1 participant