diff --git a/src/common/HTTPRequest.ts b/src/common/HTTPRequest.ts index d193ee8a342c6..98cb66de9c724 100644 --- a/src/common/HTTPRequest.ts +++ b/src/common/HTTPRequest.ts @@ -157,6 +157,15 @@ export class HTTPRequest { #interceptHandlers: Array<() => void | PromiseLike>; #initiator: Protocol.Network.Initiator; + /** + * Warning! Using this client can break Puppeteer. Use with caution. + * + * @experimental + */ + get client(): CDPSession { + return this.#client; + } + /** * @internal */