Cannot export HAR file from Safari (Monterey 12.3)

In Monterey 12.3, I am no longer able to export a HAR file consistently. If I open the developer tools, and capture traffic, clicking on the "Export" button, or context-clicking and choosing "Export HAR" does nothing. I'm never prompted to save the file.

At times, it does allow me to export a HAR file, but only about 1 in 10-20 page loads. It doesn't seem to be specific to a site, or specific to anything environmental...it just seems to not prompt.

One other thing I've noted, when attempting to export the HAR file, Safari itself seems to freeze briefly (the spinning "beachball") - but after it starts responding again, there still is no prompt for saving the HAR file.

I am using Monterey 12.5 and am facing this exact same issue with chrome. I can get a copy of the HAR file when I use chrome headless with a HAR extractor javascript code (https://github.com/cyrus-and/chrome-har-capturer) but I am not able to extract the HAR files from the chrome GUI. I don't know the reason behind it and was curious if this my resolved in any way by the original author @Toonetown

Thanks for asking this. I'm on Monterey 12.6 and I am also facing this issue in Safari only, not Chrome. Currently on Safari 16.1

Similar problem here with Sonoma 14.1.2 and Safari 17.1.2 - it is not possible to export a HAR file if any requests are incomplete (i.e. browser still 'waiting' for a response.) So it is not possible to debug failing requests!

Cannot export HAR file from Safari (Monterey 12.3)
 
 
Q