puppeteer/docs/api/puppeteer.httpresponse.buffer.md

266 B

sidebar_label
HTTPResponse.buffer

HTTPResponse.buffer() method

Signature:

class HTTPResponse {buffer(): Promise<Buffer>;}

Returns:

Promise<Buffer>

Promise which resolves to a buffer with response body.