Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(build): make build automatically install browsers (#36692)
Adam Gastineau04316f11cd5e
diff --git a/utils/build/build.js b/utils/build/build.jsindex 8c966d185d..fae58876fa 100644--- a/utils/build/build.js+++ b/utils/build/build.js@@ -68,7 +68,7 @@ const copyFiles = [];const watchMode = process.argv.slice(2).includes('--watch');const withSourceMaps = watchMode;-const installMode = process.argv.slice(2).includes('--install');+const disableInstall = process.argv.slice(2).includes('--disable-install');const ROOT = path.join(__dirname, '..', '..');/**@@ -589,7 +589,7 @@ onChanges.push({script: 'utils/generate_types/index.js',});-if (installMode) {+if (watchMode && !disableInstall) {// Keep browser installs up to date.onChanges.push({inputs: ['packages/playwright-core/browsers.json'],