How can you export a har file on Safari?

Barbara Jensen picture Barbara Jensen · Oct 18, 2017 · Viewed 9k times · Source

I have instructions to give to customers for how to send in har files for debugging SSO issues for all common browsers but Safari. Remote debug is not an option. My current instructions basically say "you can't do this on Safari"; I've seen others say this too.

I found this relatively recent stackoverflow post yesterday that says you can at least make the data persist now:

Safari Developer Tools: Preserve Network Log on Navigation

So now I need to export it. I found this link that gives some instructions, but at the last step, we don't see the 'copy all as HAR' selection.

http://help.catchsoftware.com/display/ET/Collecting+Browser+Performance+Information

Does anyone know how to export the browser network traffic on Safari? Am I missing something?

Answer

Matt Gallagher picture Matt Gallagher · Apr 24, 2018

When you have the "Web inspector" visible in Safari and you're viewing the "Network" tab, the "Export" button at the top right will export a HAR file of the last loaded page.