How to capture HAR file for diagnostic purposes

Prev Next

Introduction

HAR files are used to gather data from end-user's browser. It captures objects and response calls that a webpage generates. HAR files are utilized by e-Share engineers to investigate and troubleshoot a variety of browser-based issues experienced by users.

How to generate HAR file

  1. Google Chrome:

    • Open Google Chrome and navigate to the page where the issue is occurring.

    • Select the Chrome menu  > More Tools  > Developer Tools.

    • In the panel that opens, select the Network tab.

    • Ensure the round Record button in the upper left corner is red; if grey, click it to start recording.

    • Check the box for Preserve log.

    • Click the Clear button to remove any existing logs from the Network tab.

    • Reproduce the issue while the network requests are being recorded.

    • Once the issue is reproduced, Select the button at the top which says ‘Export HAR (sanitized)…’, and save the file to your computer.

    • Upload your HAR file to your ticket or attach it to your email for analysis by our Support team.

  2. Firefox:

    • Open Firefox and go to the page where you are experiencing trouble.

    • Select the Firefox menu (three horizontal lines) at the top-right, then choose Web Developer > Network.

    • The Developer Network Tools will open as a docked panel. Click the Network tab.

    • Recording starts automatically when you perform actions in the browser.

    • After reproducing the issue, right-click under the File column and select Save all as HAR.

    • Save the HAR file to your computer.

    • Upload your HAR file to your ticket or attach it to your email for analysis by our Support team.

  3. Microsoft Edge:

    • Open the Network tool in F12 developer tools, or by going to Edge menu  > More Tools  > Developer Tools.

    • Check the box for Preserve log.

    • Click the Clear button to remove any existing logs from the Network tab.

    • Reproduce the issue while the network requests are being recorded.

    • Once the issue is reproduced, Select the button at the top which says ‘Export HAR (sanitized)…’, and save the file to your computer.Export captured traffic as a HAR (CTRL + S).

    • Upload your HAR file to your ticket or attach it to your email for analysis by our Support team.

  4. Safari:

    • Ensure the Develop menu is visible in Safari. If not, follow the instructions to enable it at this link.

    • Open the Develop menu and select Show Web Inspector.

    • Click the Network tab and perform the activity causing issues.

    • Click the Export icon on the far right of the network tab and save the HAR file.

    • Upload your HAR file to your ticket or attach it to your email for analysis by our Support team.