What Are HAR Files
HAR, short for HTTP Archive, is a format used for tracking information between a web browser and a website. A HAR file is primarily used for identifying performance issues, such as bottlenecks, slow load times, and page rendering problems. The HAR file keeps track of each resource loaded by the browser along with timing information for each resource.
How to capture HAR Files
- In Chrome, go to More Tools > Developer Tools, or:
- Windows: Press F12
- Mac: Press Option + ⌘ + J
- On the Network tab, ensure the Record button & Preserve Log are enabled.
- Preserve Log allows the logging to continue even if the same tab/page is refreshed.
- Click on the Filter icon and ensure All is selected
- Preserve Log allows the logging to continue even if the same tab/page is refreshed.
- On the Console tab, click the Gear icon and ensure Preserve Log is enabled
- Without opening a new window or tab, reproduce the issue in the same tab.
- Data will not be collected from a new tab/page
- You may need to reduce the size of the inspection window. Do this by hovering at the of the window until your cursor becomes an up and down arrow , then drag the inspection window down to reveal more of the page.
- On the Network tab:
- For Windows right click on one of the text lines and select 'Save all as HAR with content'
- For Mac press CTRL + Click on one of the text lines and select 'Save all as HAR with content'
- On the Console tab:
- For Windows right click on one of the text lines and select 'Save As'
- For Mac press CTRL + Click on one of the text lines and select 'Save As'
- Zip those 2 files together and send the zipped folder as an attachment with your Support ticket.