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:
Max Schmitt 2023-01-09 18:39:54 +01:00 committed by GitHub
parent 6083926111
commit e3d615e9f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -51,6 +51,12 @@ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm i -D playwright
* v13.4.0+
* 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
* since: v1.9
- returns: <[ElectronApplication]>

View file

@ -15778,6 +15778,13 @@ export interface Download {
* - v12.2.0+
* - v13.4.0+
* - 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 {
/**