All Collections
Troubleshooting
Generating a HAR file for troubleshooting
Generating a HAR file for troubleshooting
Zalary Young avatar
Written by Zalary Young
Updated over a week ago

When troubleshooting an issue, a Salto employee may ask you to create a HAR file for further investigation.

A HAR file is a HTTP archive that contains detailed information about the requests and responses made between a web browser and a web server. HAR files are useful for troubleshooting and debugging web page performance issues, as they provide detailed information about the resources that were loaded, the timings of the requests and responses, and any errors that may have occurred.

Note: Everything you do in the page, while you are reproducing the problem, is recorded, including sensitive data. Make sure that you secure your HAR files accordingly. Cloudflare has released a HAR sanitizer that can be used to strip any sensitive information.

Creating a HAR file in Google Chrome (or Chromium-based browsers, such as Microsoft Edge)

1. Open the Developer Tools by pressing F12 or right-clicking on the page and selecting "Inspect".

Please keep the Developer Tools console open while recording or the recording will end.

2. Open the Network tab.

3. Make sure the Preserve log checkbox is checked.

4. Click on the record button to start capturing network traffic.

5. Reproduce the issue or navigate to the page you want to capture.

6. Click on the record button again to stop capturing network traffic.

7. Click the download button, Export HAR, to download, and save the file to your computer: Save as HAR with Content.

Creating a HAR file in Firefox

1. Open the Web Developer Tools by pressing or right-clicking on the page and selecting "Inspect".

Please keep the Developer Tools console open while recording or the recording will end.

2. Open the Network tab.

3. Click the Gear icon on the right side of the tab.

4. Make sure that the Persist logs option is checked.

5. Reproduce the issue or navigate to the page you want to capture.

6. Under the Gear icon, click the Save all As HAR, to download, and save the file to your computer.

You can now send the HAR file to Salto to assist in diagnosing the issue you are experiencing.

If you have any further questions or need assistance with creating a HAR files - either in Google Chrome or another browser, please don't hesitate to reach out to our support team.

Did this answer your question?