Skip to main content
All CollectionsTroubleshootingGeneral
How to Generate and Send HAR Files?
How to Generate and Send HAR Files?
Hamza Abaelgarch avatar
Written by Hamza Abaelgarch
Updated over a week ago

SnapCall Support may occasionally request additional information about the network requests happening in your browser. A support agent might ask you to capture a HAR file, which logs these requests, while you experience an issue. It's also helpful to include any browser console logs alongside the HAR file. Similar to HAR files, Windows log files might be requested in some cases.

Caution Regarding HAR Files:

A HAR file contains information like cookies and downloaded pages during recording. Anyone with access to the file can view the submitted data, which might include personal or sensitive details. Make sure to secure your HAR files appropriately. Tools like the HAR sanitizer by Cloudflare can be used to remove any sensitive information.

This guide covers the following:

  • Generating HAR Files

  • Sending HAR Files

  • Additional Resources

Generating HAR Files

Instructions for creating a HAR file and capturing console logs vary depending on your browser. Here's a breakdown of popular browsers:

  • Google Chrome:

    1. Open Chrome and navigate to the webpage where the problem occurs.

    2. Click the three vertical dots (⋮) and select More Tools > Developer Tools.

    3. Choose the Network tab. Keep this tab open while reproducing the issue.(Optional): If SnapCall Support requests a HAR file with WebSockets, enable the WS option in the Network tab. Refresh your browser to see WebSocket traffic.

    4. Locate the round record button (red) in the tab's upper left corner. Click it to start recording (if grey).

    5. If the button isn't red, ensure the Preserve log box is checked.

    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 save the file as a HAR with Content.

  • Mozilla Firefox:

    1. Open Firefox and go to the webpage where the issue occurs.

    2. Open the Network Monitor.

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

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

    5. Save the HAR file to a convenient location.

  • Apple Safari:

    1. Open Safari and ensure the Develop menu is visible. If not, follow the instructions in the Safari User Guide for enabling it.

    2. Select Show Web Inspector.

    3. Click the Network tab. Keep this tab open while reproducing the issue.

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

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

  • Microsoft Edge:

    1. Open Edge and access the Network tool.

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

    3. Export the captured traffic as a HAR file.

Sending HAR Files

Before sending a HAR file to SnapCall Support, it's recommended to both rename and compress the file. Uncompressed HAR files often exceed attachment size limits.

Additional Resources

By default, HAR files use the page URL as the name, which might be flagged by spam filters. Choose a descriptive name that doesn't include the full URL.

The widget on SnapCall's support chat allow attaching HAR files or files exceeding 100 MB. Instead, you can attach the file to your support ticket via email or a cloud storage service like Google Drive or Dropbox.

Did this answer your question?