Skip to content

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

feat: use --no-service-autorun in Chromium (#6232)

Andrey Lushnikov329980be2a42
diff --git a/src/server/chromium/chromium.ts b/src/server/chromium/chromium.ts
index 400951305b..d6287db219 100644
--- a/src/server/chromium/chromium.ts
+++ b/src/server/chromium/chromium.ts
@@ -192,6 +192,8 @@ const DEFAULT_ARGS = [
'--enable-automation',
'--password-store=basic',
'--use-mock-keychain',
+ // See https://chromium-review.googlesource.com/c/chromium/src/+/2436773
+ '--no-service-autorun',
];
async function urlToWSEndpoint(endpointURL: string) {