use fallback

This commit is contained in:
Simon Knott 2025-01-27 14:35:00 +01:00
parent edff9fc11d
commit d199c51bdf
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -53,7 +53,7 @@ export class MockingProxy extends ChannelOwner<channels.MockingProxyChannel> {
this._browserRequests.set(correlation, request);
const proxyUrl = `http://localhost:${this.port()}/pw_meta:${correlation}/`;
await route.continue({ headers: { 'x-playwright-proxy': encodeURIComponent(proxyUrl) } });
await route.fallback({ headers: { 'x-playwright-proxy': encodeURIComponent(proxyUrl) } });
}
port(): number {