Skip to content

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

docs: document LaunchOptions.dumpio (#1051)

Daniel Imms8a7728da3d61
diff --git a/src/server/browserType.ts b/src/server/browserType.ts
index 3c1c970c47..8c7cf207f5 100644
--- a/src/server/browserType.ts
+++ b/src/server/browserType.ts
@@ -34,6 +34,10 @@ export type LaunchOptions = BrowserArgOptions & {
handleSIGTERM?: boolean,
handleSIGHUP?: boolean,
timeout?: number,
+ /**
+ * Whether to dump stdio of the browser, this is useful for example when
+ * diagnosing browser launch issues.
+ */
dumpio?: boolean,
env?: {[key: string]: string} | undefined
};