From e6a28eb55ce711393e4c5dc9ecc755140aafc9fe Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 31 Aug 2022 12:30:18 +0200 Subject: [PATCH] docs(intro-js): add pnpm reference (#16948) --- docs/src/intro-js.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/src/intro-js.md b/docs/src/intro-js.md index 77a93b09dc..954dda2b6f 100644 --- a/docs/src/intro-js.md +++ b/docs/src/intro-js.md @@ -21,7 +21,8 @@ Get started by installing Playwright using npm or yarn. Alternatively you can al defaultValue="npm" values={[ {label: 'npm', value: 'npm'}, - {label: 'yarn', value: 'yarn'} + {label: 'yarn', value: 'yarn'}, + {label: 'pnpm', value: 'pnpm'} ] }> @@ -38,6 +39,14 @@ npm init playwright@latest yarn create playwright ``` + + + + +```bash +pnpm dlx create-playwright +``` + @@ -92,4 +101,4 @@ npx playwright show-report - [Write tests using web first assertions, page fixtures and locators](./writing-tests.md) - [Run single tests, multiple tests, headed mode](./running-tests.md) - [Generate tests with Codegen](./codegen.md) -- [See a trace of your tests](./trace-viewer-intro.md) \ No newline at end of file +- [See a trace of your tests](./trace-viewer-intro.md)