Generating a HAR file

Stanza support may occasionally need additional information about the network requests that are generated in your browser. A member of the team may ask you to record a HAR file, or a log of network requests, while that issue occurs.

Instructions for generating HAR files

Read the instructions below to generate a HAR file and console logs in the browser that you use.

Generate a HAR file in Chrome

  1. Open Chrome and go to the page where the issue is occurring.

  2. Look for the button and select More Tools > Developer Tools.

  3. From the panel that appears, select the Network tab. You must keep the menu open while you reproduce the issue.

  4. Look for a round record button in the upper left corner of the tab, and make sure it is red. If it is grey, click the button once to start recording.

  5. If it isn't, check the Preserve log box.

  6. Click the grey crossed circle button to clear any existing logs from the network tab.

  7. Reproduce the issue while the network requests are recorded.

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

    Download button from Network Tab in Chrome
  9. Email the HAR file to support.

Why is my generated HAR file empty?

Google recently made changes that require adjustments so that files containing sensitive data can be downloaded. Failure to make these adjustments may result in an empty HAR file.

For more information, see the Google announcement: What's new in DevTools, Chrome 130

To enable HAR exports with sensitive data

  1. Open Chrome.

  2. Look for the button and select More Tools > Developer Tools.

  3. Click Preferences > Network.

  4. Select the Allow to generate HAR (with sensitive data) check box.

  5. Return to the Network panel and long-click the Export button marked with an arrow.

  6. Select Export HAR (with sensitive data) from the drop-down menu.

Generate a HAR file in Firefox

  1. Open Firefox and go to the page where the issue is occurring.

  2. Open the Network Monitor.

  3. Reproduce the issue while the network requests are recorded.

  4. Right-click anywhere under the File column and click Save All As HAR.

    Save All As Har in firefox
  5. Save the HAR file somewhere convenient.

  6. Email the HAR file to support.

Generate a HAR file in Safari

  1. Open Safari and go to the Develop menu. If you don't see the Develop menu, follow the instructions in this article from the Safari User Guide: Use the developer tools in the Develop menu in Safari on Mac.

  2. Select Show Web Inspector.

  3. Click the Network tab. You must keep it open while you reproduce the issue.

  4. Reproduce the issue while the network requests are recorded.

  5. Click the Export icon and save the HAR file.

  6. Email the HAR file to support.

Generate a HAR file in Edge

  1. Open Edge and go to the Network tool.

  2. Reproduce the issue while the network requests are recorded.

  3. Export captured traffic as a HAR file.

  4. Email the HAR file to support.

Last updated