Skip to content

Commit

Permalink
Run playwright-core executable instead of playwright
Browse files Browse the repository at this point in the history
The executable name was changed upstream.
  • Loading branch information
remcohaszing committed Mar 26, 2024
1 parent 19f835f commit 809156b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 809156b

Please sign in to comment.