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. |
||
|---|---|---|
| .. | ||
| bin | ||
| bundles | ||
| src | ||
| types | ||
| .eslintrc.js | ||
| .npmignore | ||
| browsers.json | ||
| cli.js | ||
| index.d.ts | ||
| index.js | ||
| index.mjs | ||
| package.json | ||
| README.md | ||
| ThirdPartyNotices.txt | ||
playwright-core
This package contains the no-browser flavor of Playwright.