Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: add Electron troubleshooting note (#19954)

Max Schmitte3d615e9f2f7
diff --git a/docs/src/api/class-electron.md b/docs/src/api/class-electron.md
index 8188504733..cf1fa06fd6 100644
--- a/docs/src/api/class-electron.md
+++ b/docs/src/api/class-electron.md
@@ -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]>
diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts
index 166cf47d76..9435376b00 100644
--- a/packages/playwright-core/types/types.d.ts
+++ b/packages/playwright-core/types/types.d.ts
@@ -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 {
/**