Create a HAR file with sensitive data
How to generate a HAR file
In September 2024 the Chrome and Edge browser have been updated and by default an HTTP Archive (HAR) will be sanitized and sensitive data such as cookies will no longer be included by default. To troubleshoot issues with WPO365 we sometimes need a HAR file with cookies.
Generate in Edge
- Open the browser's Developer Tools by pressing F12.
- Activate the Network tab.
- Click ... and then Settings to navigate to the settings page.
- On the Preferences page locate the Allow to generate HAR (with sensitive data) option and ensure it's checked.
- Now return to the Network tab.
- Check the options to Preserve log and Disable cache and make sure to start with an empty log by clicking Clear network log.
- Now reproduce the issue that you wish the record the network traffic for.
- To export the HTTP Archive, long press the downward pointing arrow and select Export HAR (with sensitive data).
Generate in Chrome
To generate a HAR file with sensitive data in Chrome, you can follow the steps above, with one exception. To access the Preferences page, you can should the gear icon in the top-most toolbar of the Network tab of the Developer Tools, as shown below.