playwright/packages
Andrey Lushnikov a87794dae6
fix: demand --force to re-install stable browser channels (#13200)
This patch will check if browser channel is already installed.
If it is, it'll abort installation with the following error:

```
aslushnikov:~/prog/playwright$ npx playwright install msedge
Failed to install browsers
Error:
╔═════════════════════════════════════════════════════════════════╗
║ ATTENTION: "msedge" is already installed on the system!         ║
║                                                                 ║
║ "msedge" installation is not hermetic; installing newer version ║
║ requires *removal* of a current installation first.             ║
║                                                                 ║
║ To *uninstall* current version and re-install latest "msedge":  ║
║                                                                 ║
║ - Close all running instances of "msedge", if any               ║
║ - Use "--force" to install browser:                             ║
║                                                                 ║
║     npx playwright install --force msedge                       ║
║                                                                 ║
║ <3 Playwright Team                                              ║
╚═════════════════════════════════════════════════════════════════╝
```

To re-install browser channel, use `--force`.

Fixes https://github.com/microsoft/playwright/issues/13061
2022-04-01 10:05:53 -07:00
..
html-reporter chore: allow multiple image diffs (#13202) 2022-03-31 14:11:34 -07:00
playwright chore: cut v1.20 branch (#12593) 2022-03-08 14:01:20 -08:00
playwright-chromium chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
playwright-core fix: demand --force to re-install stable browser channels (#13200) 2022-04-01 10:05:53 -07:00
playwright-ct-react test(components): add more tests (#13168) 2022-03-29 21:06:11 -07:00
playwright-ct-svelte chore: mount should return locator pointing to the component element / fragment (#12718) 2022-03-13 21:26:13 -07:00
playwright-ct-vue chore(vue): allow adding events in jsx templates (#12746) 2022-03-15 13:02:10 -07:00
playwright-firefox chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
playwright-test chore: allow multiple image diffs (#13202) 2022-03-31 14:11:34 -07:00
playwright-webkit chore: fix markdown links in NPM README's (#12833) 2022-03-17 15:28:57 +01:00
recorder chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
trace-viewer fix(tracing): account for screencast timestamps when computing timeline boundary of empty trace (#13214) 2022-03-31 09:45:45 -07:00
web test(components): add more tests (#13168) 2022-03-29 21:06:11 -07:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00