How do I generate a HAR file?

A HAR capture (HTTP Archives) records your browser's requests and responses with the GitBook Application, allowing our support team to investigate the issues you are experiencing further.

You need to save two files locally: a HAR file, and a console log.

  1. In Chrome, go to the page in GitBook where you're experiencing the issue.

  2. Select at the top right of your browser window to open Chrome settings.

  3. Select > More tools > Developer tools. Developer tools opens as a panel at the side or bottom of Chrome.

  4. Select the Network tab.

  5. Select the Preserve log checkbox.

  6. Confirm the red circle is visible at the top left of the Network tab — this means recording has started. If the circle is black, select it to start recording.

  7. Refresh the page and reproduce the issue.

  8. Select the download icon (↓) in the Network tab toolbar to save all requests as a HAR file.

  9. Select the Console tab.

  10. Right-click anywhere in the console and select Save as….

  11. Name the file Chrome-console.log.

  12. Reply to your case with both files as shared links.

Last updated

Was this helpful?