Generating HAR files
The HTTP Archive (HAR) is a format that is used to track information between web browsers and websites. Here, you can find the details about generating HAR files using some browsers Chrome, Firefox, Safari, and Edge.
(Chrome)
- Close all incognito tabs and windows in Chrome.
- Open a new incognito window.
- Click the more actions menu (...) to the right of the toolbar and select .
- Select the Network tab.
- Ensure that Chrome is recording. A red button indicates that a recording is already in progress. Otherwise, click Record network log.
- Select Preserve Log.
- Clear any existing logs by clicking Clear network log (
).
- Go to the page where the issue occurred and reproduce the issue.
- Click Export HAR (the down arrow icon) to export the file as HAR.
- Save the HAR file.
(Firefox)
- Close all private tabs and windows in Firefox.
- Open a new private window.
- Go to the page to be recorded.
- Click the application menu (
) and then .
- In the developer tools docked tab select Network.
- Go to the page where the issue occurred and reproduce the issue. The page automatically starts recording as you navigate.
- When you're finished, click Pause/Resume recording network log.
- Right-click anywhere in the File column and select Save All as HAR.
- Save the HAR file.
(Safari)
- If the Develop menu doesn't appear in the menu bar, go to .
- Click Advanced.
- Select Show Develop menu in menu bar.
- Close all private tabs and windows in Safari.
- Open a new private window.
- From the Develop menu select Show Web Inspector.
- Click the Network tab.
- Go to the page where the issue occurred and reproduce the issue.
- When you're finished, click Export.
- Save the file.
(Edge)
- Open Edge.
- Close all InPrivate windows.
- Press Ctrl + Shift + N to open a new InPrivate window.
- Click the Settings and more menu (...) to the right of the toolbar and select .
- Click Network.
- Ensure that Edge is recording. A red button indicates that a recording is already in progress. Otherwise, click Record network log.
- Visit the page and complete the steps that trigger the issue.
- When you're finished, click Stop recording network log.
- Click Export HAR (the down arrow icon) or press Ctrl + S to export the file as HAR.
- Save the HAR file.