We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98ff2a8 commit 8693fd4Copy full SHA for 8693fd4
packages/playwright-core/src/remote/playwrightConnection.ts
@@ -226,6 +226,8 @@ export class PlaywrightConnection {
226
}
227
228
private async _createOwnedSocksProxy(playwright: Playwright): Promise<SocksProxy | undefined> {
229
+ if (!this._options.socksProxyPattern)
230
+ return;
231
const socksProxy = new SocksProxy();
232
socksProxy.setPattern(this._options.socksProxyPattern);
233
playwright.options.socksProxyPort = await socksProxy.listen(0);
0 commit comments