Skip to content

Commit

Permalink
feat: add experimental client to HTTPRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed Jun 23, 2022
1 parent ebcb8a2 commit 8ab2e76
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/common/HTTPRequest.ts
Expand Up @@ -157,6 +157,15 @@ export class HTTPRequest {
#interceptHandlers: Array<() => void | PromiseLike<any>>;
#initiator: Protocol.Network.Initiator;

/**
* Warning! Using this client can break Puppeteer. Use with caution.
*
* @experimental
*/
get client(): CDPSession {
return this.#client;
}

/**
* @internal
*/
Expand Down

0 comments on commit 8ab2e76

Please sign in to comment.