curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bashImportant: CLOSE AND REOPEN TERMINAL to recognize the nvm command
nvm install v20.17.0
# Upgrade the latest npm for node
nvm install-latest-npmnpm install -D @playwright/test@latest
# Also download new browser binaries and their dependencies
npx playwright install --with-deps
# check version
npx playwright --versionnpm installnpx playwright test ./tests --project="Google Chrome"- .env file contains TEST_PLAN_ID to run test cases, which can be un-run/failed
- Run test from cursor in VSCode not run global setup microsoft/playwright#32121