When troubleshooting complex issues, it is sometimes necessary for our support team to obtain additional information about the network requests that are generated in your browser while an issue occurs. A support team member may request that you record a HAR file, or a log of network requests, while that issue is occurring and then provide that to them for further analysis.
Note: A HAR files contain sensitive data, including the content of the pages you downloaded while recording and your cookies. This allows anyone with the HAR file to impersonate your account and all the information that you submitted while recording (personal details, passwords, credit card numbers, etc.).
This article contains instructions on how to generate Har files for these browsers:
To generate the HAR file for Chrome
- Open Google Chrome and go to the page where the issue is occurring.
- Look for the Vertical ellipsis button () and select More Tools > Developer Tools.
- From the panel opened, select the Network tab.
- 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 it once to start recording.
- Check the box Preserve log.
- Click the Clear button () to clear out any existing logs from the Network tab.
- Reproduce the issue that you were experiencing before, while the network requests are being recorded.
- Once you have reproduced the issue, in Chrome, click Export HAR to download. Then save the file to your computer: Save as HAR with Content.
- Upload your HAR file to your ticket or attach it to your email so that our Support team can analyze it.
The instructions are the same for a MAC computer or a Windows computer.
To generate the HAR file for Firefox
- Open Firefox and go to the page where you are experiencing trouble.
- Select the Firefox menu (three horizontal parallel lines) at the top-right of your browser window, then select More Tools > Web Developer.
- The Developer Network Tools opens as a docked panel at the side or bottom of Firefox. Click the Network tab.
- The recording autostarts when you start performing actions in the browser.
- Once you have reproduced the issue and you see that all of the actions have been generated in the Developer Network Panel (should just take a few seconds), right-click anywhere under the File column, and click on Save all as Har.
- Save the HAR file somewhere convenient.
- Upload your HAR file to your ticket or attach it to your email so that we may analyze it.
The instructions are the same for a MAC computer or a Windows computer.
To generate the HAR file for Internet Explorer
Note: Internet Explorer is no longer a Zendesk-supported browser.
- Open Internet Explorer and go to the page where the issue is occurring.
- PressF12on your keyboard (or click the gear icon > F12 Developer Tools)
- Click the Network tab.
- Reproduce the issue that you were experiencing before, while the network requests are being recorded.
- Once done click the Save button.
- Give the trace a filename and click the Save button which will save it as a .har file or .xml file.
- Upload your HAR file to your ticket or attach it to your email so that we may analyze it.
The instructions are the same for a MAC computer or a Windows computer.
To generate the HAR file for Safari
Before generating the HAR file, make sure you can see the Develop menu in Safari. If it is not there, follow the instructions under Use the developer tools in the Develop menu in Safari on Mac.
- Open the Develop menu and select Show Web Inspector.
- Click the Network tab and complete the activity that is causing issues.
- Click the Export icon on the far right of the network tab and save the HAR file.
- Send us the file via your support ticket.
To generate the HAR file for Edge
Edge natively produces HAR files. For more instructions, see the instructions from the Microsoft website.
- Click "•••" > More Tools > Developer tools.
- Go to Network, and reproduce the issue.
- Click the download button to save all as har.
- Upload your HAR file to your ticket or attach it to your email so that we may analyze it.
To generate the HAR file with WebSockets
On some occasions, we need to produce HAR files that include WebSockets.
- In Chrome, look for the Vertical ellipsis button () and select More Tools > Developer Tools.
- From the panel opened, select the Network tab.
- Click on the Network tab and select the WS.
- Refresh/reload the browser again to start seeing the traffic over the WebSocket. This step is critical.
- Once you have reproduced the issue, in Chrome, click Export HAR to download. Then save the file to your computer: Save as HAR with Content.
- Select a location to export the HAR file.
- Upload your HAR file to your ticket or attach it to your email so that our Support team can analyze it.