cyrus-and / chrome-har-capturer

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

Methdology question #87

Closed jsw-zorro closed 3 years ago

jsw-zorro commented 3 years ago

For some website, for example, the CNN. It keeps refreshing, what's this tool's methodology to decide when to finish?

cyrus-and commented 3 years ago

It waits -g, --grace <ms> (default 0) after:

https://github.com/cyrus-and/chrome-har-capturer/blob/57e5cbbde764eadb62038735a189cb6a2d6a9287/lib/stats.js#L24-L33

So basically all the following events must happen:

jsw-zorro commented 3 years ago

Thanks, get it!