Generating HAR Files

Generate a HAR file to help troubleshoot any issues encountered.
HAR (HTTP Archive) is a file format typically used to export captured data through HTTP session tools. The file format is essentially a JSON object with a particular set of fields.

📘

Notes

  • HAR files contain sensitive data, including the content of pages the user downloaded while recording and cookies.
  • Use an Incognito Window to collect the HAR files.
  • Enable third-party cookies to ensure proper cookie preservation during reproduction.
  • Large HAR files should be compressed, preferably as a .zip file.

Each web browser has its own generation process:

  • Chrome
  • Firefox
  • Internet Explorer
  • Safari
  • Edge

Generating HAR Files in Google Chrome

  1. On the page where you are experiencing trouble, click the â‹® Customize and control Google Chrome icon.
  2. Select MoreTools-> Developer Tools.
3544
  1. Click Settings.
1494
  1. Go to Preferences-> Global.
  2. Mark the checkbox next to Auto-open DevTools for popups.
1478
  1. Click the Network tab.
  2. Check the Preserve log and Disable cache boxes.
  3. Click the record icon.
1504
  1. While the network requests are being recorded, reproduce the steps that have led to the issue.
  2. Click Download.
  3. Save the file to your computer: Save as HAR with Content.

Generating HAR Files in Mozilla Firefox

  1. On the page where you are experiencing trouble, click the ![**Record Button**] (https://files.readme.io/ef1d516-firefox_menu.png) Firefox menu.

  2. Select More Tools.

2980
  1. Select Web Developer Tools.
2980

The Web Developer Tools opens as a docked panel at the side or bottom of Firefox.

  1. Click the Network tab.
2980

📘

Note

The recording starts automatically when you start performing actions.

  1. Reproduce the steps that have led to the issue, right-click anywhere under the File column.

  2. Click Save all as Har.

2980

Generating HAR Files in Microsoft Internet Explorer

  1. On the page where you are experiencing trouble, press the F12 key or click the ![gear] (https://files.readme.io/c51a2b0-gear_icon.png) icon.
  1. Select F12 Developer Tools.
1822
  1. Click the Network tab. Reproduce the steps that have led to the issue.

  2. Click the Save ![Save] (https://files.readme.io/1eef643-save_icon.png).
    .

1840

Generating HAR Files in MacOS Safari

  1. On the page where you are experiencing trouble, click the Develop menu and select Show Web Inspector.
3584
  1. Click the Network tab and reproduce the steps that have led to the issue.

  2. Click the Export icon and in the save screen, save the HAR file to your preferred destination.

2000

Generating HAR Files in Microsoft Edge

  1. On the page where you are experiencing trouble, click the menu . . . icon.
  1. Select More tools-> Developer tools.
1920
  1. Click on the Network tab. Reproduce the steps that have led to the issue.

  2. Right-click on any of the rows and select Save all as HAR with content.

1920

What’s Next