Make some HTTP requests so, there is something to export
Simple text response
Small image
The image size is over the response body size limit
Post data in the request body
Use HAR API
Let's test two HAR API methods. All results can be seen in the Console panel.
You need to select the Network panel at least once so, it's initialized and
starts intercepting HTTP traffic.
getHAR Get network panel content as HAR
onRequestFinished Register callback that is executed every time HTTP request finishes.
This hook represents performance bottleneck, and so the listener needs to be explicitly added.