How to generate a HAR file
If you need detailed information about network requests within your browser for troubleshooting, generating a HAR file would be helpful. This article helps you know the steps on how to generate a HAR file.
Description description
Environment
Adobe Experience Manager
Issue
You may need detailed information about network requests within your browser for troubleshooting.
A HAR file is helpful because it contains HTTP transaction history of the browser. This article describes how to generate the HAR file.
Web Browser Environments
- Chrome
- Edge
- Firefox
- Safari
Resolution resolution
Chrome and Edge
- Open the page where the issue occurs.
- Press F12 to open DevTools.
- Select the Network tab.
- Select Preserve log checkbox.
- Select Disable cache checkbox.
- Reproduce the problem you want to investigate and confirm that the Network tab displays detailed HTTP transactions.
- Right-click anywhere in the list of network requests.
- Select Save all as HAR with content.
- Choose a location and save the file.
Note for Chrome/Edge version 130:
By default, HAR files exclude Cookie and Authorization headers due to privacy changes. To include these sensitive headers for troubleshooting:
- Open DevTools Settings (typically the gear icon in the DevTools window).
- Select Allow to generate HAR with sensitive data.
- After reproducing the issue, long-press the Export button in the Network tab, and select Export HAR (with sensitive data) from the dropdown menu.
Firefox
- Open the page where the issue occurs.
- Press F12 to open DevTools.
- Select the Network tab.
- Select the gear icon and enable Persist logs.
- Select Disable Cache check box.
- Reproduce the problem you want to investigate and confirm that the Network tab displays detailed HTTP transactions.
- Select the gear icon again and choose Save All As HAR.
- Choose a location and save the file.
Safari
- Open DevTools (press ⌥⌘I (Option + Command + I) on your keyboard).
- Select the Network tab.
- Check the Preserve Log checkbox.
- Reproduce the problem you want to investigate and confirm that the Network tab displays detailed HTTP transactions.
- Select Export.
- Specify a file name and save it.
.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f