How Do I Generate a HAR File for Troubleshooting Browser Issues?
How do I generate a HAR file for troubleshooting browser issues?
How do I generate an HTTP Archive format or HAR file in the Chrome Browser?
How do I generate a HAR file in the Firefox Browser?
How do I generate a HAR file in the Safari Browser?
To generate the HAR file for Chrome and Microsoft Edge (Chromium based):
- Open Google Chrome and go to the page on which you are experiencing the issue.
- From the Chrome
menu bar select More tools > Developer Tools.
- From the opened panel, select the Network tab.
- Check the box next to the Preserve Log.
- Look for a round record
button in the upper left corner of the tab, and make sure it's red. If it is grey, click on it to start the Network recording log (Ctrl+E).
- Click the Clear
button to clear out any existing logs from the Network tab.
- Reproduce the issue that you were experiencing, under the Name column right-click on any network request within the grid, and select Save all as HAR with Content.
- Select Desktop, then click the Save button.
To generate the HAR file for Firefox:
- Open Firefox and go to the page on which you are experiencing the issue.
- Select the Firefox
menu at the top-right of your browser window, then select More Tools -> Web Developer Tools
- The Developer Network Tools opens as a panel at the side or bottom of Firefox. Click the Network tab.
- Check the Persist Logs box by clicking the gear icon in the top right corner.
- Reproduce the activity that was causing the issue in the browser, then right-click anywhere within the grid of network requests, and select Save All As HAR.
- Right-click on any network request within the grid, select Save all as HAR with Content,
- Select Desktop, then click the Save button.
To generate the HAR file for Safari:
- Click on the Develop drop-down menu, and then select Show Web Inspector.
- If you don’t see the Develop drop-down menu in the menu bar, choose Safari > Preferences, click Advanced, then select the Show Develop menu in menu bar.
- Check the box next to the Preserve Log.
- Click the Network tab and reproduce the activity that is causing issues.
- Click the export
icon, and then save the web archive file to your desktop.
Was this article helpful?