docs: add Electron troubleshooting note (#19954)
Fixes https://github.com/microsoft/playwright/issues/19854 Signed-off-by: Max Schmitt <max@schmitt.mx> Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
This commit is contained in:
parent
6083926111
commit
e3d615e9f2
|
|
@ -51,6 +51,12 @@ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm i -D playwright
|
||||||
* v13.4.0+
|
* v13.4.0+
|
||||||
* v14+
|
* v14+
|
||||||
|
|
||||||
|
**Known issues:**
|
||||||
|
|
||||||
|
If you are not able to launch Electron and it will end up in timeouts during launch, try the following:
|
||||||
|
|
||||||
|
* Ensure that `nodeCliInspect` ([FuseV1Options.EnableNodeCliInspectArguments](https://www.electronjs.org/docs/latest/tutorial/fuses#nodecliinspect)) fuse is **not** set to `false`.
|
||||||
|
|
||||||
## async method: Electron.launch
|
## async method: Electron.launch
|
||||||
* since: v1.9
|
* since: v1.9
|
||||||
- returns: <[ElectronApplication]>
|
- returns: <[ElectronApplication]>
|
||||||
|
|
|
||||||
7
packages/playwright-core/types/types.d.ts
vendored
7
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -15778,6 +15778,13 @@ export interface Download {
|
||||||
* - v12.2.0+
|
* - v12.2.0+
|
||||||
* - v13.4.0+
|
* - v13.4.0+
|
||||||
* - v14+
|
* - v14+
|
||||||
|
*
|
||||||
|
* **Known issues:**
|
||||||
|
*
|
||||||
|
* If you are not able to launch Electron and it will end up in timeouts during launch, try the following:
|
||||||
|
* - Ensure that `nodeCliInspect`
|
||||||
|
* ([FuseV1Options.EnableNodeCliInspectArguments](https://www.electronjs.org/docs/latest/tutorial/fuses#nodecliinspect))
|
||||||
|
* fuse is **not** set to `false`.
|
||||||
*/
|
*/
|
||||||
export interface Electron {
|
export interface Electron {
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue