playwright/packages/playwright-core/src/cli
Max Schmitt 4c4789c740
chore: validate deps during install (#28932)
Motivation: On Windows we call around 50 times `PrintDeps.exe` which
takes on a very fast machine 500+ms. On Linux we do it around 120 times
(`ldd`) which takes around 150ms.

This change validates the dependencies once on browser install (`npx
playwright install`). In case its failing, it will emit a warning, in
case of a success, it will create a marker file that the binary has been
validated. For future `launch()` calls, we'll read this file and if
exists, we'll not validate again. Otherwise we'll validate again.

Note: If the marker file is older than 30 days, the browser will be
validated again.
2024-01-25 20:55:53 +01:00
..
DEPS.list chore: remove cli from playwright-core (#22612) 2023-04-25 11:19:37 -07:00
driver.ts feat(run-server): expose --host (#28723) 2023-12-19 23:19:46 +01:00
program.ts chore: validate deps during install (#28932) 2024-01-25 20:55:53 +01:00
programWithTestStub.ts chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00