From 809156bc641d2648d160cb23b9b778f6d03d5ddd Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Tue, 26 Mar 2024 11:49:34 +0100 Subject: [PATCH] Run playwright-core executable instead of playwright The executable name was changed upstream. --- .github/workflows/ci.yaml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 505fbca..86536f5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -67,7 +67,7 @@ jobs: path: ~/.cache/ms-playwright key: playwright-${{ hashFiles('package-lock.json') }} - run: npm ci - - run: npx playwright install --with-deps chromium + - run: npx playwright-core install --with-deps chromium - run: npm test - uses: actions/upload-artifact@v4 if: always() diff --git a/README.md b/README.md index 100f573..88a25b0 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ In Node.js this package uses [playwright](https://playwright.dev) under the hood need to install additional dependencies. These can be installed with: ```sh -npx playwright install --with-deps chromium +npx playwright-core install --with-deps chromium ``` See the Playwright [Browsers](https://playwright.dev/docs/browsers) documentation for more