Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/src/library-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ Alternatively, you can add `@playwright/browser-chromium`, `@playwright/browser-
npm install @playwright/browser-chromium
```

:::note
These helper packages download the browser from an `install` script that runs during `npm install`. Some package managers (pnpm, Yarn Berry, Bun, Deno, and npm following [RFC #868](https://github.com/npm/rfcs/pull/868)) block dependency install scripts by default. In that case, allow the script explicitly (for example via the `allowScripts` field in `package.json` or `npm approve-scripts`), or download the browser with `npx playwright install chromium` instead.
:::

**Download behind a firewall or a proxy**

Pass `HTTPS_PROXY` environment variable to download through a proxy.
Expand Down
4 changes: 4 additions & 0 deletions packages/playwright-browser-chromium/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# @playwright/browser-chromium

This package automatically installs [Chromium](https://www.chromium.org/) browser for [Playwright](http://github.com/microsoft/playwright) library. If you want to write end-to-end tests, we recommend [@playwright/test](https://playwright.dev/docs/intro).

## Browser download and install scripts

This package downloads the browser using an `install` script that runs during `npm install`. Some package managers (pnpm, Yarn Berry, Bun, Deno, and npm following [RFC #868](https://github.com/npm/rfcs/pull/868)) block dependency install scripts by default. If your package manager skips the script, allow it explicitly (for example via the `allowScripts` field in `package.json` or `npm approve-scripts`), or download the browser with `npx playwright install chromium` instead.
4 changes: 4 additions & 0 deletions packages/playwright-browser-firefox/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# @playwright/browser-firefox

This package automatically installs [Firefox](https://www.mozilla.org/firefox/) browser for [Playwright](http://github.com/microsoft/playwright) library. If you want to write end-to-end tests, we recommend [@playwright/test](https://playwright.dev/docs/intro).

## Browser download and install scripts

This package downloads the browser using an `install` script that runs during `npm install`. Some package managers (pnpm, Yarn Berry, Bun, Deno, and npm following [RFC #868](https://github.com/npm/rfcs/pull/868)) block dependency install scripts by default. If your package manager skips the script, allow it explicitly (for example via the `allowScripts` field in `package.json` or `npm approve-scripts`), or download the browser with `npx playwright install firefox` instead.
4 changes: 4 additions & 0 deletions packages/playwright-browser-webkit/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# @playwright/browser-webkit

This package automatically installs [WebKit](https://www.webkit.org/) browser for [Playwright](http://github.com/microsoft/playwright) library. If you want to write end-to-end tests, we recommend [@playwright/test](https://playwright.dev/docs/intro).

## Browser download and install scripts

This package downloads the browser using an `install` script that runs during `npm install`. Some package managers (pnpm, Yarn Berry, Bun, Deno, and npm following [RFC #868](https://github.com/npm/rfcs/pull/868)) block dependency install scripts by default. If your package manager skips the script, allow it explicitly (for example via the `allowScripts` field in `package.json` or `npm approve-scripts`), or download the browser with `npx playwright install webkit` instead.
4 changes: 4 additions & 0 deletions packages/playwright-chromium/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# playwright-chromium

This package contains the [Chromium](https://www.chromium.org/) flavor of the [Playwright](http://github.com/microsoft/playwright) library. If you want to write end-to-end tests, we recommend [@playwright/test](https://playwright.dev/docs/intro).

## Browser download and install scripts

This package downloads the browser using an `install` script that runs during `npm install`. Some package managers (pnpm, Yarn Berry, Bun, Deno, and npm following [RFC #868](https://github.com/npm/rfcs/pull/868)) block dependency install scripts by default. If your package manager skips the script, allow it explicitly (for example via the `allowScripts` field in `package.json` or `npm approve-scripts`), or download the browser with `npx playwright install chromium` instead.
4 changes: 4 additions & 0 deletions packages/playwright-firefox/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# playwright-firefox

This package contains the [Firefox](https://www.mozilla.org/firefox/) flavor of the [Playwright](http://github.com/microsoft/playwright) library. If you want to write end-to-end tests, we recommend [@playwright/test](https://playwright.dev/docs/intro).

## Browser download and install scripts

This package downloads the browser using an `install` script that runs during `npm install`. Some package managers (pnpm, Yarn Berry, Bun, Deno, and npm following [RFC #868](https://github.com/npm/rfcs/pull/868)) block dependency install scripts by default. If your package manager skips the script, allow it explicitly (for example via the `allowScripts` field in `package.json` or `npm approve-scripts`), or download the browser with `npx playwright install firefox` instead.
4 changes: 4 additions & 0 deletions packages/playwright-webkit/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# playwright-webkit

This package contains the [WebKit](https://www.webkit.org/) flavor of the [Playwright](http://github.com/microsoft/playwright) library. If you want to write end-to-end tests, we recommend [@playwright/test](https://playwright.dev/docs/intro).

## Browser download and install scripts

This package downloads the browser using an `install` script that runs during `npm install`. Some package managers (pnpm, Yarn Berry, Bun, Deno, and npm following [RFC #868](https://github.com/npm/rfcs/pull/868)) block dependency install scripts by default. If your package manager skips the script, allow it explicitly (for example via the `allowScripts` field in `package.json` or `npm approve-scripts`), or download the browser with `npx playwright install webkit` instead.
Loading