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(types): add electron.launch.timeout (#8384)
Joel Einbinder6685f0dd7685
diff --git a/docs/src/api/class-electron.md b/docs/src/api/class-electron.mdindex d95fb9ea51..a9ddb29f8d 100644--- a/docs/src/api/class-electron.md+++ b/docs/src/api/class-electron.md@@ -72,7 +72,7 @@ Current working directory to launch application from.Specifies environment variables that will be visible to Electron. Defaults to `process.env`.-#### option: Electron.launch.timeout+### option: Electron.launch.timeout- `timeout` <[float]>Maximum time in milliseconds to wait for the application to start. Defaults to `30000` (30 seconds). Pass `0` to disable timeout.diff --git a/types/types.d.ts b/types/types.d.tsindex 2161c13e64..8fdce55a3a 100644--- a/types/types.d.ts+++ b/types/types.d.ts@@ -11112,6 +11112,12 @@ export interface Electron {};};+ /**+ * Maximum time in milliseconds to wait for the application to start. Defaults to `30000` (30 seconds). Pass `0` to disable+ * timeout.+ */+ timeout?: number;+/*** Changes the timezone of the context. See* [ICU's metaZones.txt](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1)