Generating an HAR file

Last updated

When troubleshooting complex issues, especially those related to store loading, our Customer care team often needs to get additional information about how your store communicates with your browser and your system. The support agents check the network requests that are generated in your browser while an issue occurs.

Our Customer care agent may request that you record an HAR file (stands for HTTP Archive), or a log of network requests, at the moment when that issue is occurring and provide it to them for further investigation.

Below are the instructions on how you can generate an HAR file in a few most popular browsers.

If your browser isn’t listed, try searching for a guide on generating an HAR file in the web.

In this article:

Google Chrome

To generate a HAR file in Google Chrome:

  1. Open Google Chrome and go to the page where the issue is occurring.
  2. In the Chrome menu bar select View → Developer → Developer Tools:

Chrome Developer Tools

  1. From the panel that opens at the bottom of your screen, select the Network tab:

 Chrome Network tab

  1. Find the Record button (Record button ) in the upper left corner of the Network tab, and make sure it is red. If it is grey, click on it to start recording:

 Record button in Chrome

  1. Enable the option Preserve log:

Preserve log option in Chrome

  1. Click the Clear button (Clear button ) to clear out any existing logs from the Network tab:

Clear button in Chrome

  1. Now try to reproduce the issue that you were experiencing before, while the network requests are being recorded.
  2. Once you have reproduced the issue, right click anywhere on the grid of network requests, select Save as HAR with Content, and save the file to your computer:

Save as HAR option in Chrome

  1. Attach the HAR file to your email and send it to us for further analysis.

Mozilla Firefox

To generate a HAR file in Mozilla Firefox:

  1. Open Firefox and go to the page where you are experiencing the issue.
  2. Click the Firefox menu (Firefox menu) at the top-right of your browser window and select Web Developer → Network:

Firefox Web Developer

  1. The Developer Network Tools will open a docked panel at the side or bottom of Firefox. Click on the Network tab. The recording will start automatically once you start performing actions in the browser.
  2. When you have reproduced the issue and you see that all of the actions have been generated in the Developer Network Panel (it normally takes just a few seconds), right click anywhere under the File column and then Save all as HAR:

Save as HAR option in Firefox

  1. Save the recorded HAR file on your computer.
  2. Attach the HAR file to your email and send it to us for further investigation.

Safari

To generate a HAR file in Safari:

  1. Open Safari and first check if you have the Develop menu at the top of the screen. If not, go to Safari → Preferences → Advanced and check the option Show Develop Menu in menu bar:

Show Develop menu in Safari

  1. Go to the page where the issue is occurring.
  2. Navigate to Develop → Show Web Inspector. Mind that this menu option will not be available until you browse somewhere beyond Safari's starting page:

 Safari Web Inspector

  1. Switch to the Network tab and enable the option Preserve log:

Safari Network tab

  1. Refresh the page and reproduce the issue that you were experiencing before, while the network requests are being recorded.
  2. Once done click Export and save the HAR file on your computer:

Export as HAR in Safari

  1. Attach the HAR file to your email and send it to us for further analysis.

Microsoft Edge and Internet Explorer 11

To generate a HAR file in Microsoft Edge or Internet Explorer 11:

  1. Open Microsoft Edge and go to the page where the you are having the issue.
  2. Press F12 on your keyboard to navigate to the Developer Tools menu:

Developer Tools in Edge and Internet Explorer

  1. Select the Network tab:

Edge and Internet Explorer Network tab

  1. Refresh the page and reproduce the issue that you were experiencing before, while the network requests are being recorded.
  2. Once done click the Export as HAR button (button) or press Ctrl + S on your keyboard:

Export as HAR option in Edge and Internet Explorer

  1. Save the recorded HAR file on your computer.
  2. Attach the HAR file to your email and send it to us so we can analyze it.