How to generate a HAR file
HAR files help our technical support teams troubleshoot complex issues. To create these files, we recommend using Chrome or Firefox. However, IE 11, Edge, and Safari also provide .har
file generation and export capability.
Chrome
To create a HAR file in Chrome, follow these steps:
Go to the URL where the issue occurs. Do not reproduce the issue yet.
Open Developer Tools:
- From menu: Menu → More Tools → Developer Tools.
- Keyboard: Ctrl+Shift+C, or Ctrl+Alt+I, or ⌥+⌘+I for Mac.
Click the Network tab.
Locate the round button at the top left of the Network tab and confirm it is in red recording mode. If it's grey, click to turn red to start recording.
Use the Clear button (the circle button with a line through it next to the record button) to clear all previous activity.
Select the Preserve log check box on the Network tab.
Check the Disable cache check box.
Reproduce the steps that create the issue.
Save session as a .har file by right-clicking the grid and selecting Save as HAR with content.
Send it to AdGuard support (support@adguard.com) with detailed explanation of issue. Supporting screenshots can be helpful, as well.
Edge
Go to the URL where the issue occurs. Do not reproduce the issue yet.
Open Developer Tools:
- From menu: Menu → More Tools → Developer Tools.
- Keyboard: Ctrl+Shift+C, or Ctrl+Alt+I, or ⌥+⌘+I for Mac.
Click the Network tab.
Locate the round button at the top left of the Network tab and confirm it is in red recording mode. If it's grey, click to turn red to start recording.
Use the Clear button (the circle button with a line through it next to the record button) to clear all previous activity.
Select the Preserve log check box on the Network tab.
Check the Disable cache check box.
Reproduce the steps that create the issue.
Save session as a .har file by right-clicking the grid and selecting Save as HAR with content.
Send it to AdGuard support (support@adguard.com) with detailed explanation of issue. Supporting screenshots can be helpful, as well.
Firefox
To create a HAR file in Firefox, follow these steps:
Go to the URL where the issue occurs. Do not reproduce the issue yet.
Open Developer Tools in Network mode:
- From menu: Menu → Web Developer → Network.
- Keyboard: Ctrl+Shift+C, or ⌥+⌘+E (Mac).
Note the Play/Pause button at the top left of the Network tab.
- Button should be in play mode.
If any information is currently displayed in the grid, clear by clicking the Empty trash can button next to the play/pause button.
Select the Persist Logs check box on the Network tab.
Check the Disable cache check box.
Reproduce the steps that create the issue.
Save session as a .har file by right-clicking the grid and selecting Save all as HAR.
Send it to AdGuard support (support@adguard.com) with detailed explanation of issue. Supporting screenshots can be helpful, as well.
Internet Explorer 11
To create a HAR file in Internet Explorer 11, follow these steps:
Go to the URL where the issue occurs. Do not reproduce the issue yet.
Open Developer Tools in Network mode:
- From Tools cog wheel menu: Developer Tools → Network tab.
- Keyboard: F12 → Network tab.
Note the start profiling session Play button and stop profiling Stop button at top left of Network tab.
- Play button will be gray when recording and Stop button will be red. Put in Play mode.
Clear any session info appearing in the lower grid using the Clear session button on Network tab. Hover over icons to see names.
- Clear session button is a three line icon with an x on it.
Check the Disable cache check box.
Reproduce the steps that create the issue.
Save session as a .har file by clicking the Save to disk button (Export as HAR) on Network tab.
Send it to AdGuard support (support@adguard.com) with detailed explanation of issue. Supporting screenshots can be helpful, as well.
Safari
To create a HAR file in Safari, follow these steps:
Check the Safari menu bar at the top of the screen for a Develop menu.
- If not visible, turn it on by going to Safari → Settings → Advanced.
- Check the checkbox at the bottom next to Show Develop menu in menu bar.
Go to the URL where the issue occurs. Do not reproduce the issue yet.
Open Network tab in Web Inspector:
- From menu: Develop → Show Web Inspector → Network.
- Keyboard: ⌥+⌘+I → Network
Check Preserve Log checkbox on left side of the Network tabs, within the Other filter options... menu.
Clear current Network items by clicking the Delete Trash icon at the far right of Network tabs.
- Keyboard: ⌘+K
Check the Disable caches check box.
Reproduce the steps that create the issue.
Save session as a .har file by clicking the Export icon next to the Delete Trash icon.
Send it to AdGuard support (support@adguard.com) with detailed explanation of issue. Supporting screenshots can be helpful, too.
Android
To create HAR files, follow these steps:
Open AdGuard and go to Settings.
Choose Advanced in the menu.
Choose Low Level Settings
Activate
pref.har.capture
(you will have to restart the protection).Now reproduce the problem — open the app, perform the necessary actions to make the ad appear.
Now turn
pref.har.capture
off again.Go back and tap Export logs and system info → Save.
Windows
Open Settings* → General settings → Advanced settings and scroll down.
Check the Enable HAR writing box.
Reproduce the problem.
Go to General settings → Click Export logs → Save.
Disable HAR writing by unchecking the corresponding box.