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?
How do I generate a HAR file in Internet Explorer?
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.
- 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, 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.
- Reproduce the activity that was causing the issue in the browser, then right-click anywhere within the grid of network requests, 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 Internet Explorer and Microsoft Edge (Non-Chromium based):
- Open Internet Explorer and go to the page which has the issue.
- Press F12 on your keyboard or Click on the gear icon
and click on F12 Developer Tools.
- The Developer Network Tools opens as a panel at the side or bottom of Firefox. Click the Network tab.
- Reproduce the activity that was causing the issue before, while the network requests are being recorded.
- Once you have reproduced the issue, click the Export as HAR (Ctrl+S)
button.
- Give the file a name, select Desktop for the saving location, and 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 Show Develop menu in menu bar.
- 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?