A HAR file is a recording of communications between your computer and the servers that your computer is working with. Collecting a HAR file is easy if you follow these steps:
1. While on the page that's causing the issue, click the menu icon in the top-right corner of chrome (the icon with three vertical dots).
2. Choose 'More tools'->'Developer tools' to bring up the Developer Tools console.
3. Select 'Network'.
4. Ensure the box labeled 'Preserve log' is checked.This ensures you don't lose any information if you refresh the page.
5. You should see a small red circle in the top-left of the console, indicating that it is recording. If the circle is black, click on it to begin recording.
6. Reproduce the issue. You'll begin to see data collecting in the console window. You must reproduce the issue in the same tab for the HAR file to provide useful information. If you do not see the developer console open while your issue occurs, no data on your issue will be gathered. It's OK to refresh the page as long as you remembered to check "Preserve log" in Step 4.
7. Right-click in the console window and select 'Save as HAR with Content' to download the .har data file.
Important Information about HAR Files
- Do not publicly share your HAR file as it may contain personal information, such as your Google account login data. Only share it with internal, Maven Wave, or Google support agents. If not related to the issue being investigated, do not record a HAR of your login process.
- Some backend data for HAR files expires after six hours. After six hours, some backend data may not be possible to retrieve due to security concerns. Please keep this in mind when recording a HAR file and provide it as promptly as possible.
Saving Your Console Logs
To save your console logs as well, go to the Console tab of the Developer Tools console and right click an entry, then press "save as" to save the file. In this screenshot, there is one log entry.