Skip to main content

How to capture HAR logs

HAIR-logs (HTTP archive) contain records of all network requests and responses made by the browser when loading a particular web page. They contain data such as the URL of the requested resource, the HTTP method used to request it, and the response code.

HAIR Logs are collected to diagnose web page loading problems, identify resources with slow loading speeds and network errors, monitor site performance and optimization, and compare the performance of different pages.

Most browsers allow you to collect HAIR into a separate file, which can then be transferred to technical support to understand the causes of the bug.

note

Before you begin, enable logging in the console to accurately record the error.