mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-07 19:59:11 +03:00
4c4789c740
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. |
||
---|---|---|
.. | ||
browser-only.js | ||
docker.spec.js | ||
download-chromedriver.js | ||
download-selenium.js | ||
driver-client-sigint.js | ||
driver-client.js | ||
electron-app.js | ||
esm-playwright-chromium.mjs | ||
esm-playwright-firefox.mjs | ||
esm-playwright-test.mjs | ||
esm-playwright-webkit.mjs | ||
esm-playwright.mjs | ||
esm.mjs | ||
failing.spec.js | ||
inspector-custom-executable.js | ||
playwright-test-plugin-types.ts | ||
playwright-test-types.ts | ||
plugin.spec.ts | ||
read-json-report.js | ||
sample.spec.js | ||
sanity-electron.js | ||
sanity.js | ||
screencast.js | ||
validate-dependencies-skip-executable-path.js |