Skip to content

Support getting response body for network responses #747

Open
@OrKoN

Description

@OrKoN

Issue #541 asks for a mechanism to alter the response body when intercepting a request. This issue on the other hand is specifically about reading the body of network responses in responseCompleted events with or without the interception.

In Puppeteer, it is exposed via https://pptr.dev/api/puppeteer.httpresponse.buffer and https://pptr.dev/api/puppeteer.httpresponse.json

Probably adding support for fetching response bodies would require adding a new method and a way to deal with blobs in the protocol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions