Generate a HAR
Learn how to generate a HAR file in the browser.
In this section, we explain what an HTTP Archive (HAR) format file is and how to generate a HAR file in the affected browser.
HAR (HTTP Archive format)
A HAR file is a JSON file that you generate to track all logs of a web browser's interaction with a website. It is used to troubleshoot performance and page rendering issues such as slow page loads, timeouts, incorrect page formats, and missing information.
It is recommended that you generate multiple HAR files, for comparison. For example, you can generate a HAR file for a page that is performing normally, as well as for the page that is having issues.
How do I generate a HAR file?
In the View menu, go to Developer and open Developer Tools.
- Refer to Google Chrome's official documentation for more options.
Select the Network tab.
Locate the Record 🔴 button; it should be red. If the Record 🔴 button is gray, click to begin recording.
Check the Preserve log box to enable.
Click the Clear 🚫 symbol to clear all current network requests.
Navigate to the search bar and enter the URL of the page that is having issues. Reproduce the steps that led to the issue.
Once you have reproduced the issue, click on the Export HAR symbol and save the file.
Open Developer Tools in Mozilla Firefox.
Select the Network tab.
Locate and click the Cog icon on the right side of the panel, then select Persist Logs.
Locate the Trash icon on the left side of the panel and click to clear all current network requests.
Navigate to the search bar and enter the URL of the page that is having issues; reproduce the steps that led to the issue.
Right-click on any file, in any column, and navigate to Save All As HAR.
Open Developer Tools in Microsoft Edge.
Select the Network tab.
Locate the Record 🔴 button; it should be red. If the Record 🔴 button is gray, click to begin recording.
Check the Preserve log box to enable.
Click the Clear 🚫 symbol to clear all current network requests.
Navigate to the search bar and enter the URL of the page that is having issues; reproduce the steps that led to the issue.
Once you have reproduced the issue, click on the Export HAR symbol and save the file.
Open Developer Tools in Internet Explorer.
Select the Network tab.
On the left side of the panel, locate, and click, a green Record button; once clicked, there will be a red square to indicate it is recording.
Next, locate the icon and click to clear all current network requests.
Check the Preserve icon (arrow with a red x) to preserve your console logs.
Navigate to the search bar and enter the URL of the page that is having issues; reproduce the steps that led to the issue.
Once you have reproduced the issue, click the Export symbol and save the file.
Open Web Inspector in Safari.
Select the Network tab.
Check the Preserve log box to enable.
Locate the Trash icon on the right side of the panel and click to clear all current network requests.
Navigate to the search bar and enter the URL of the page that is having issues; reproduce the steps that led to the issue.
After you have reproduced the issue, click on the Export symbol and save the file.