A HAR file is a text file that contains information about a web page's network requests. It can be used to troubleshoot performance issues, debug JavaScript, and analyze web traffic.
To create a HAR file, you can use the developer tools in your web browser. The steps for creating a HAR file vary depending on the browser you are using. Please see below for how to generate a HAR file:
How to create a HAR file in Google Chrome:
Open Google Chrome.
Go to the web page you want to create a HAR file for.
Right-click on the page and select "Inspect".
In the developer tools that open, click on the "Network" tab.
Make sure that the "Preserve log" checkbox is checked.
Click on the "Start recording" button.
Navigate to the web page that is causing the issue.
Once you have reproduced the issue, click on the "Stop recording" button.
Right-click on any of the requests in the list and select "Save all as HAR with content".
Save the file to a location of your choice.
How to create a HAR file in Mozilla Firefox:
Open Mozilla Firefox.
Go to the web page you want to create a HAR file for.
Click on the "Tools" menu and select "Web Developer".
In the Web Developer menu, select "Network".
Make sure that the "Enable logging" checkbox is checked.
Click on the "Start logging" button.
Navigate to the web page that is causing the issue.
Once you have reproduced the issue, click on the "Stop logging" button.
Right-click on any of the requests in the list and select "Save all as HAR".
Save the file to a location of your choice.
How to create a HAR file in Microsoft Edge
Open Microsoft Edge.
Go to the web page you want to create a HAR file for.
Click on the three dots in the top right corner of the browser window and select "More tools".
In the "More tools" menu, select "Developer tools".
In the Developer tools that open, click on the "Network" tab.
Make sure that the "Enable logging" checkbox is checked.
Click on the "Start capturing" button.
Navigate to the web page that is causing the issue.
Once you have reproduced the issue, click on the "Stop capturing" button.
Right-click on any of the requests in the list and select "Save all as HAR".
Save the file to a location of your choice.
Once you have created a HAR file, you can open it in a text editor or a web analytics tool to view the information about the web page's network requests.
💡 Tip
Need more help? Feel free to reach out to us via Live Chat or check out our Customer Community.
Find answers and get help from Meltwater Support and Community Experts.