mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(types): add electron.launch.timeout (#8384)
This commit is contained in:
parent
c355d4d05a
commit
6685f0dd76
@ -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.
|
||||
|
||||
6
types/types.d.ts
vendored
6
types/types.d.ts
vendored
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user