alexbardas / nightmare-har-plugin

Nightmare plugin used to retrieve the network activity of a web page in HAR (HTTP Archive) format
MIT License
18 stars 3 forks source link

Capture Har for a flow with page reloads #7

Open ov0364 opened 7 years ago

ov0364 commented 7 years ago

Hi,

I have a flow which contains a page reload and I would like the capture all request for the complete flow as har file.

In the chrome devtools I'm able to do this with the option "Preserve Log".

Is it possible to have like similar functionality with the "nightmare-har-plugin"?

Regards, Frans

alexbardas commented 7 years ago

Hi. Unfortunately, I don't think this option is exposed in the devtools network API: https://developer.chrome.com/extensions/devtools_network. There is a merge request (https://github.com/alexbardas/nightmare-har-plugin/pull/6) that is adding this functionality programatically. I've just merged it, please let me know if that helps. 😄