puppeteer-har icon indicating copy to clipboard operation
puppeteer-har copied to clipboard

Response body is truncated

Open jonapgar opened this issue 4 years ago • 4 comments

Some response bodies are truncated when using saveResponse option.

This is due to the fact that you are not waiting for Network.loadingFinished

See: https://github.com/ChromeDevTools/devtools-protocol/issues/44#issuecomment-320127404

jonapgar avatar Jun 15 '20 18:06 jonapgar

just ➕ this issue and pr

@Everettss any thoughts on the associated PR here?

fwiw this helps unblock uses cases which want to use the saveResponse option on larger response bodies (like, say, uncompressed html).

ericmustin avatar Aug 14 '20 09:08 ericmustin

Hey there! Since this functionality is important for us we've started maintaining this package over at https://github.com/auteon/puppeteer-har. The API has changed slightly and the whole thing is written in TypeScript now.

frontendphil avatar Apr 20 '21 09:04 frontendphil

Hi @frontendphil thanks for the fix! Do you intend on maintaining that and enabling GitHub issues?

0xThiebaut avatar Jul 09 '22 10:07 0xThiebaut

Hey there! Since this functionality is important for us we've started maintaining this package over at https://github.com/auteon/puppeteer-har. The API has changed slightly and the whole thing is written in TypeScript now.

Sorry, but your fork is not usable and is trying to install a bunch of git hooks into my repo. Can you publish on NPM

ZebTheWizard avatar Jul 06 '23 01:07 ZebTheWizard