A HAR (HTTP ARchive) file contains network traffic information, which can be useful for debugging or performance analysis when you come across issues. Here's how you can get a HAR file depending on your browser type:
💡 Tip: When capturing network traffic, make sure to only capture the traffic you need to avoid creating a large file.
Chrome or Microsoft Edge
Open Chrome and go to the page you want to capture network traffic for.
Click on the three dots in the top-right corner, then click on More Tools and select Developer Tools.
Make sure the Network tab is selected, then click on the record button (a circle) to start capturing network traffic.
Refresh the page to capture the network traffic, then repeat the step you were working on before encountering the issue.
Once completed, click the record button again to stop recording. You should see several line items start appearing on the Network page.
Right-click on any entry in the Network tab, then click Save all as HAR with content.
Firefox
Open Firefox and go to the page you want to capture network traffic for.
Click on the menu button (three horizontal lines) in the top-right corner, then click on Web Developer and select Network.
Make sure the Network tab is selected, then click on the record button (a circle) to start capturing network traffic.
Refresh the page to capture the network traffic, then repeat the step you were working on before encountering the issue.
Once completed, click the record button again to stop recording. You should see several line items start appearing on the Network page.
Right-click on any entry in the Network tab, then click Save all as HAR.
Safari
Open Safari and go to the page you want to capture network traffic for.
Click Safari in the top-left corner, then click Preferences.
Click on the Advanced tab, then check the box next to Show Develop menu in the menu bar.
Click on Develop in the top menu bar, then select Show Web Inspector.
Make sure the Network tab is selected, then click on the record button (a circle) to start capturing network traffic.
Refresh the page to capture the network traffic, then repeat the step you were working on before encountering the issue.
Once completed, click the record button again to stop recording. You should see several line items start appearing on the Network page.
Right-click on any entry in the Network tab, then click Export as HAR.
Internet Explorer
Open Internet Explorer and go to the page you want to capture network traffic for.
Click the Internet Explorer menu and select the Developer Tools option
Make sure the Network tab is selected, then deactivate Clear entries on navigate.
Click Export as HAR, and a window will open requesting a location to save the file.
Save the file.