playwright/packages
Andrey Lushnikov b0ff4f58ce
feat: implement --dry-run for npx playwright install (#17158)
* feat: implement `--dry-run` for `npx playwright install`

The `--dry-run` command prints URLs for browsers to be installed.

Demo output:

```
browser: chromium version 106.0.5249.21
  Install location:    /Users/andreylushnikov/Library/Caches/ms-playwright/chromium-1023
  Download url:        https://playwright.azureedge.net/builds/chromium/1023/chromium-mac-arm64.zip
  Download fallback 1: https://playwright-akamai.azureedge.net/builds/chromium/1023/chromium-mac-arm64.zip
  Download fallback 2: https://playwright-verizon.azureedge.net/builds/chromium/1023/chromium-mac-arm64.zip

browser: firefox version 104.0
  Install location:    /Users/andreylushnikov/Library/Caches/ms-playwright/firefox-1350
  Download url:        https://playwright.azureedge.net/builds/firefox/1350/firefox-mac-11-arm64.zip
  Download fallback 1: https://playwright-akamai.azureedge.net/builds/firefox/1350/firefox-mac-11-arm64.zip
  Download fallback 2: https://playwright-verizon.azureedge.net/builds/firefox/1350/firefox-mac-11-arm64.zip

browser: webkit version 16.0
  Install location:    /Users/andreylushnikov/Library/Caches/ms-playwright/webkit-1714
  Download url:        https://playwright.azureedge.net/builds/webkit/1714/webkit-mac-12-arm64.zip
  Download fallback 1: https://playwright-akamai.azureedge.net/builds/webkit/1714/webkit-mac-12-arm64.zip
  Download fallback 2: https://playwright-verizon.azureedge.net/builds/webkit/1714/webkit-mac-12-arm64.zip

browser: ffmpeg
  Install location:    /Users/andreylushnikov/Library/Caches/ms-playwright/ffmpeg-1007
  Download url:        https://playwright.azureedge.net/builds/ffmpeg/1007/ffmpeg-mac-arm64.zip
  Download fallback 1: https://playwright-akamai.azureedge.net/builds/ffmpeg/1007/ffmpeg-mac-arm64.zip
  Download fallback 2: https://playwright-verizon.azureedge.net/builds/ffmpeg/1007/ffmpeg-mac-arm64.zip
```

Fixes #16926
2022-09-08 09:05:09 -07:00
..
html-reporter chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
playwright chore: cut v1.25 branch (#16390) 2022-08-09 17:09:58 -07:00
playwright-chromium chore: cut v1.25 branch (#16390) 2022-08-09 17:09:58 -07:00
playwright-core feat: implement --dry-run for npx playwright install (#17158) 2022-09-08 09:05:09 -07:00
playwright-ct-react chore(ct-react): bump vite to v3 and @vitejs/plugin-react to v2 (#15733) 2022-08-21 13:52:02 +02:00
playwright-ct-solid feat(ct): solid default child (#16839) 2022-08-26 15:48:05 -07:00
playwright-ct-svelte fix(ct): mount type (#17076) 2022-09-08 08:39:25 -07:00
playwright-ct-vue fix(ct): mount type (#17076) 2022-09-08 08:39:25 -07:00
playwright-ct-vue2 fix(ct): mount type (#17076) 2022-09-08 08:39:25 -07:00
playwright-firefox chore: cut v1.25 branch (#16390) 2022-08-09 17:09:58 -07:00
playwright-test chore: optionally connect instead of launching (#17174) 2022-09-07 15:57:20 -07:00
playwright-webkit chore: cut v1.25 branch (#16390) 2022-08-09 17:09:58 -07:00
recorder chore: language specific dropdowns in codegen (#16452) 2022-08-15 19:44:46 +02:00
trace-viewer fix(trace): preserve line breaks in console messages (#16696) 2022-08-22 09:26:51 -07:00
web fix(trace): preserve line breaks in console messages (#16696) 2022-08-22 09:26:51 -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