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
fix: installer compilation (#5908)
Andrey Lushnikovec6453d1b2e9
diff --git a/install-from-github.js b/install-from-github.jsindex 36a4dc4655..684aa45918 100644--- a/install-from-github.js+++ b/install-from-github.js@@ -21,8 +21,11 @@ const {execSync} = require('child_process');console.log(`Rebuilding installer...`);try {- execSync('npm run tsc-installer');+ execSync('npm run tsc-installer', {+ stdio: ['inherit', 'inherit', 'inherit'],+ });} catch (e) {+ process.exit(1);}console.log(`Downloading browsers...`);diff --git a/src/utils/utils.ts b/src/utils/utils.tsindex f97a5556c9..0d7728b499 100644--- a/src/utils/utils.ts+++ b/src/utils/utils.ts@@ -27,7 +27,7 @@ export function makeWaitForNextTask() {// As of Mar 2021, Electorn v12 doesn't create new task with `setImmediate` despite// using Node 14 internally, so we fallback to `setTimeout(0)` instead.// @see https://github.com/electron/electron/issues/28261- if (process.versions.electron)+ if ((process.versions as any).electron)return (callback: () => void) => setTimeout(callback, 0);if (parseInt(process.versions.node, 10) >= 11)return setImmediate;