Generating a HAR file
Last updated
Last updated
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.
Note: A HAR file includes data such as the content of your cookies and the pages you downloaded while making the recording. Anyone with access to the HAR file can view the data submitted while recording, which may include personal data or other sensitive data. Make sure that you secure your HAR files accordingly. Cloudflare has released a HAR sanitizer that can be used to strip any sensitive information.
Read the instructions below to generate a HAR file and console logs in the browser that you use.
Generate a HAR file in Chrome
Open Chrome and go to the page where the issue is occurring.
Look for the ⋮ button and select More Tools > Developer Tools.
From the panel that appears, select the Network tab. You must keep the menu open while you reproduce the issue.
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.
If it isn't, check the Preserve log box.
Click the grey crossed circle button to clear any existing logs from the network tab.
Reproduce the issue while the network requests are recorded.
Click the download button, Export HAR, to download, and save the file to your computer: Save as HAR with Content.
Email the HAR file to support.
For any issues generating this file, see this article from Google's Help Center: Capture web session traffic.
Generate a HAR file in Firefox
Open Firefox and go to the page where the issue is occurring.
Open the Network Monitor.
Reproduce the issue while the network requests are recorded.
Right-click anywhere under the File column and click Save All As HAR.
Save the HAR file somewhere convenient.
Email the HAR file to support.
For any issues generating a HAR file in Firefox, see this article from Firefox Source Docs: Network Monitor.
Generate a HAR file in Safari
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.
Select Show Web Inspector.
Click the Network tab. You must keep it open while you reproduce the issue.
Reproduce the issue while the network requests are recorded.
Click the Export icon and save the HAR file.
Email the HAR file to support.
For any issues generating a HAR file in Safari, see this article from Safari Developer website: Web Inspector.
Generate a HAR file in Edge
Open Edge and go to the Network tool.
Reproduce the issue while the network requests are recorded.
Export captured traffic as a HAR file.
Email the HAR file to support.
For any issues generating a HAR file in Safari, see this article from Microsoft Edge website: Inspect network activity.