cyrus-and / chrome-har-capturer

Capture HAR files from a Chrome instance
MIT License
535 stars 90 forks source link

from-log release date? #56

Closed Everettss closed 6 years ago

Everettss commented 6 years ago

Are there are any plans for merging from-log branch to master an release to npm? Capabilities of fromLog are a great connection for gathering HAR with Puppeteer.

cyrus-and commented 6 years ago

A couple of people manifested interest in that feature but then disappeared. In the original use case there was a Lighthouse custom audit that generated said log, what's your use case exactly?

The merging should be quite straightforward (just a few conflicts to be resolved). There was a minor issue / hackish solution concerning the creation of HAR files with content (see here). Feel free to share you thoughts about it.

Everettss commented 6 years ago

I met often question how to download HAR file with Puppeteer. I've investigated alternative other library solution and this branch looks promising. I finally decide to use chrome-har (capabilities are very similar in this package). Here is an example where I was using this HAR generation.

cyrus-and commented 6 years ago

I see, what do you think about the proposed solution to generate HAR with contents? Do you think it's feasible to insert synthetic Network.getResponseBody events with Puppeteer?

cyrus-and commented 6 years ago

Apparently, yet another person lost interest in this feature... I'll go on and merge it never the less.