Passer au contenu principal

How to collect 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:

  1. Go to the URL where the issue occurs. Do not reproduce the issue yet.

  2. Open Developer Tools:

  • From menu: Menu → More Tools → Developer Tools.
  • Keyboard: Ctrl+Shift+C, or Ctrl+Alt+I, or ⌥+⌘+I for Mac.
  1. Click on the Network tab.

  2. 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.

  3. Use the clear button (the circle button with a line through it next to the record button) to clear all previous activity.

  4. Select the Preserve log check box on the Network tab.

  5. Check the Disable cache check box.

chrome

  1. Reproduce the steps that create the issue.

  2. Save session as a .har file by right clicking on the grid and selecting Save as HAR with content.

  3. Forward to AdGuard support (support@adguard.com) with detailed explanation of issue. Supporting screenshots can be helpful, as well.

Edge

  1. Go to the URL where the issue occurs. Do not reproduce the issue yet.

  2. Open Developer Tools:

  • From menu: Menu → More Tools → Developer Tools.
  • Keyboard: Ctrl+Shift+C, or Ctrl+Alt+I, or ⌥+⌘+I for Mac.
  1. Click on the Network tab.

  2. 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.

  3. Use the clear button (the circle button with a line through it next to the record button) to clear all previous activity.

  4. Select the Preserve log check box on the Network tab.

  5. Check the Disable cache check box.

edge

  1. Reproduce the steps that create the issue.

  2. Save session as a .har file by right clicking on the grid and selecting Save as HAR with content.

  3. Forward 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:

  1. Go to the URL where the issue occurs. Do not reproduce the issue yet.

  2. Open Developer Tools in Network mode:

  • From menu: Menu→Web Developer→Network.
  • Keyboard: Ctrl+Shift+C, or ⌥+⌘+E (Mac).
  1. Note the play/pause button at the top left of the Network tab.
  • Button should be in play mode.
  1. If any information is currently displayed in the grid, clear by clicking the delete trash can button next to the play/pause button.

  2. Select the Persist Logs check box on the Network tab.

  3. Check the Disable cache check box.

firefox

  1. Reproduce the steps that create the issue.

  2. Save session as a .har file by right clicking on the grid and selecting Save all as HAR.

  3. Forward 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:

  1. Go to the URL where the issue occurs. Do not reproduce the issue yet.

  2. Open Developer Tools in Network mode:

  • From Tools cog wheel menu: Developer ToolsNetwork tab.
  • Keyboard: F12→Network tab.
  1. 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.
  1. 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.
  1. Check the Disable cache check box.

  2. Reproduce the steps that create the issue.

  3. Save session as a .har file by clicking on the Save disk button (Export as HAR) on Network tab.

  4. Forward 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:

  1. Check the Safari menu bar at the top of the screen for a Develop menu. Check the checkbox at the bottom next to Show Develop menu in menu bar.
  • If not visible, turn it on by going to Safari→Preferences→Advanced.
  1. Go to the URL where the issue occurs. Do not reproduce the issue yet.

  2. Open Network tab in Web Inspector:

  • From menu: Develop→Show Web Inspector→Network.
  • Keyboard: ⌥+⌘+I→Network
  1. Check Preserve Log checkbox on right side of the Network tabs.

  2. Clear current Network items by clicking the delete Trash icon at the far right of Network tabs.

  3. Check the Disable cache check box.

  4. Reproduce the steps that create the issue.

  5. Save session as a .har file by clicking the Export icon next to Preserve Log.

  6. Forward to AdGuard support (support@adguard.com) with detailed explanation of issue. Supporting screenshots can be helpful, too.

Android

To get HAR files follow these steps:

  1. Open AdGuard and go to Settings.

  2. Choose Advanced in the menu.

  3. Choose Low Level Settings

  4. Activate pref.har.capture (you will have to restart the protection).

  5. Now reproduce the problem — open the app, perform the necessary actions to make the ad appear.

  6. Now turn pref.har.capture off again.

  7. Go back and tap Export logs and system infoSave.

Windows

  1. Open SettingsGeneral settings*Advanced settings and scroll down.

  2. Check the Enable HAR writing box.

  3. Reproduce the problem.

  4. Go to General settings → Click on Export logsSave.

  5. Disable HAR writing by unchecking the corresponding box.