Skip to content

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

chore: remove connect options after testing (#17380)

Pavel Feldmane92bdce383a0
diff --git a/tests/library/browsertype-connect.spec.ts b/tests/library/browsertype-connect.spec.ts
index c819747a69..1ce9357636 100644
--- a/tests/library/browsertype-connect.spec.ts
+++ b/tests/library/browsertype-connect.spec.ts
@@ -642,4 +642,6 @@ test('should connect when launching', async ({ browserType, startRemoteServer, h
new Promise(f => browser.on('disconnected', f)),
remoteServer.close(),
]);
+
+ (browserType as any)._defaultConnectOptions = undefined;
});