Generate a HAR file for troubleshooting
Priscilla Ann avatar
Written by Priscilla Ann
Updated over a week ago

A HAR (HTTP ARchive) file contains network traffic information, which can be useful for debugging or performance analysis when you come across issues. Here's how you can get a HAR file depending on your browser type:

💡 Tip: When capturing network traffic, make sure to only capture the traffic you need to avoid creating a large file.

Chrome or Microsoft Edge

  1. Open Chrome and go to the page you want to capture network traffic for.

  2. Click on the three dots in the top-right corner, then click on More Tools and select Developer Tools.

  3. Make sure the Network tab is selected, then click on the record button (a circle) to start capturing network traffic.

  4. Refresh the page to capture the network traffic, then repeat the step you were working on before encountering the issue.

  5. Once completed, click the record button again to stop recording. You should see several line items start appearing on the Network page.

  6. Right-click on any entry in the Network tab, then click Save all as HAR with content.

Firefox

  1. Open Firefox and go to the page you want to capture network traffic for.

  2. Click on the menu button (three horizontal lines) in the top-right corner, then click on Web Developer and select Network.

  3. Make sure the Network tab is selected, then click on the record button (a circle) to start capturing network traffic.

  4. Refresh the page to capture the network traffic, then repeat the step you were working on before encountering the issue.

  5. Once completed, click the record button again to stop recording. You should see several line items start appearing on the Network page.

  6. Right-click on any entry in the Network tab, then click Save all as HAR.

Safari

  1. Open Safari and go to the page you want to capture network traffic for.

  2. Click Safari in the top-left corner, then click Preferences.

  3. Click on the Advanced tab, then check the box next to Show Develop menu in the menu bar.

  4. Click on Develop in the top menu bar, then select Show Web Inspector.

  5. Make sure the Network tab is selected, then click on the record button (a circle) to start capturing network traffic.

  6. Refresh the page to capture the network traffic, then repeat the step you were working on before encountering the issue.

  7. Once completed, click the record button again to stop recording. You should see several line items start appearing on the Network page.

  8. Right-click on any entry in the Network tab, then click Export as HAR.

Internet Explorer

  1. Open Internet Explorer and go to the page you want to capture network traffic for.

  2. Click the Internet Explorer menu and select the Developer Tools option

  3. Make sure the Network tab is selected, then deactivate Clear entries on navigate.

  4. Click Export as HAR, and a window will open requesting a location to save the file.

  5. Save the file.

Did this answer your question?