Hello,
I had to perform several repetitive tests involving HAR generation and packet dumps, so I searched for a tool to automate the HAR part, at first I thought to use one of the several tools available (phantomjs, browsermob-proxy, pcap2har, etc.) but unfortunately none of them work with SPDY, so I decided to write a tool myself.
I wrote a Node.js module that instruments a remote instance of Google Chrome using its
Remote Debugging Protocol and reconstructs HARs from the events generated by the browser.
I thought you guys would find it useful so I'm posting here, the code is
available on GitHub. Any feedback would be greatly appreciated.
Regards,
Andrea