diff --git a/tests/chromium/chromium.spec.ts b/tests/chromium/chromium.spec.ts index 5d24b581d5..82990bc83d 100644 --- a/tests/chromium/chromium.spec.ts +++ b/tests/chromium/chromium.spec.ts @@ -425,7 +425,7 @@ playwrightTest('should use proxy with connectOverCDP', async ({ browserType, ser }); const port = 9339 + testInfo.workerIndex; const browserServer = await browserType.launch({ - args: ['--remote-debugging-port=' + port] + args: ['--remote-debugging-port=' + port, ...(process.platform === 'win32' ? ['--proxy-server=some-value'] : [])] }); try { const cdpBrowser = await browserType.connectOverCDP(`http://localhost:${port}/`);