Below are some instructions about how you can easily generate a HAR file using different browsers.
To generate the HAR file for Chrome
- Open Google Chrome and go to the page where the issue is occurring.
- From the Chrome menu bar, select Click Customize and control Dev Tools button (3 vertical dots) > More Tools > Developer Tools.
- From the panel opened, select the Network tab.
- Check if the record button () is red as shown. If not, click on it to start recording.
- Click on the Preserve log check box.
- Click the Clear button ()
- Reproduce the issue that you were experiencing before, while the network requests are being recorded.
- Once you have reproduced the issue, right-click on any of the columns (Name/Status/Type/etc.) on the grid of network requests, select Save all as HAR with Content, and save the file to your computer.
To generate the HAR file for firefox
- Open Firefox and go to the page where you are experiencing trouble.
- Select the Firefox menu (three horizontal parallel lines) at the top-right of your browser window, then select More Tools>Web Developer Tools.
- The Developer Network Tools opens as a docked panel at the side or bottom of Firefox. Click the Network tab.
- The recording autostarts when you start performing actions in the browser. If it doesn't, click on the play button.
- Once you have reproduced the issue and you see that all of the actions have been generated in the Developer Network Panel (should just take a few seconds), right-click anywhere under the File column and click on Save all as HAR.
- Save the HAR file somewhere convenient.
To generate the HAR file for Microsoft Edge
- Open and go to the page where the issue is occurring.
- Press F12 on your keyboard (or click the horizontal three dots > More Tools> Developer Tools)
- Click the Network tab.
- Reproduce the issue that you were experiencing before, while making sure the network requests are being recorded.
- Once done click the Save button (or right-click on any of the coloumns:- Name/Status/Type/etc.) on the grid of network requests, select Save all as HAR Content and save the file to your computer.
- Give the trace a filename and click the Save button which will save it as a .har file or .xml file.
To generate the HAR file for Safari
Before generating the HAR file, make sure you can see the Develop menu in Safari. If it is not there, follow the instructions under Use the developer tools in the Develop menu in Safari on Mac.
- Open the Develop menu and select Show Web Inspector.
- Click the Network tab and complete the activity that is causing issues.
- Click the Export icon (the arrow pointing up icon) and save the web archive file.