Loading

Create HAR Files in Supported Browsers for Advanced Troubleshooting

Julkaisupäivä: Jul 10, 2026
Kuvaus

 

A HAR (HTTP Archive) file is a recording of all network requests made by a browser during a specific page load or user interaction. HAR files capture request timing, headers, cookies, authentication tokens, and response data, which allows Salesforce Support to diagnose slow loading pages, failed component rendering, or intermittent errors that cannot be reproduced in the support console.
Salesforce Support requests a HAR file when you report an issue that is environment-specific — meaning it occurs in your browser but cannot be reproduced by Support directly.


Note: Salesforce recommends capturing HAR files in Google Chrome or Mozilla Firefox for best results.

 

Ratkaisu

HAR File Security Guidelines

Before creating and sharing a HAR file, follow the security safeguards below. HAR files may contain sensitive data — including cookies, authentication tokens, and personal information — that can create security risks such as account impersonation or unauthorized access if shared without sanitization.

  1. Sanitize: Sanitize files before sharing using a HAR sanitize ( Example -Cloudflare HAR sanitizer) or manually with a text editor, to redact sensitive information.
  2. Log Out of Sessions: If you are investigating a non-authentication issue, log out of active sessions before recording to prevent capturing live session tokens.
  3. HAR Hygiene: Treat HAR files as Restricted. Limit access to appropriate personnel only, store and transmit securely, and never upload an unsanitized HAR file outside Salesforce systems (for example, do not upload to ChatGPT or other AI tools).

Create HAR files in supported browsers

Google Chrome

  1. Go to the page where you are experiencing slowness.
  2. Click the three-dot menu in the upper right of Chrome, then navigate to More Tools > Developer Tools. Alternatively, press F12 on your keyboard. Note: some organizations disable this functionality.
  3. Click the Network tab in the diagnostic window, then click Clear Network Log.
  4. Click the link, button, or tab to load the problem page or trigger the problematic action in the main window.
  5. After the page loads, right-click in the diagnostic window and select Save as HAR with content to save the file.

Video walkthrough:

The video below demonstrates opening Chrome Developer Tools, navigating to the Network tab, triggering a page load to reproduce the issue, and saving the resulting HAR file using "Save as HAR with content." If you cannot view the video, follow the written steps above.

 

 

Mozilla Firefox

  1. Go to the page where you are experiencing slowness.
  2. Click the three-line menu in the upper right of Firefox, then navigate to More Tools > Web Developer Tools. Alternatively, press F12.
  3. Click the Network tab in the diagnostic window.
  4. Click the link, button, or tab to load the problem page.
  5. After the page loads, right-click anywhere in the network waterfall and select Save All as HAR.

 

Microsoft Edge

  1. Go to the page where you are experiencing slowness.
  2. Click the three-dot menu in the upper right of Edge, then navigate to More Tools > Developer Tools. Alternatively, press F12.
  3. Click the Network tab in the diagnostic window.
  4. Click the link, button, or tab to load the problem page.
  5. After the page loads, click the disk icon (Export as HAR) to save the file.

 

Apple Safari

  1. Open Safari's Settings by selecting Safari > Settings from the menu bar.
  2. Click the Advanced tab.
  3. Confirm there is a checkmark in Show Develop menu in menu bar.
  4. Select Develop > Web Inspector from the menu bar.
  5. Click the Network tab in the diagnostic window.
  6. Click the link, button, or tab to load the problem page.
  7. After the page loads, right-click any request name on the left and select Export HAR.
     

General Tips for Capturing HAR Files

  • For intermittent issues, attempt to capture the HAR file during an active occurrence of the slowness or error. If the issue does not appear during the first capture, clear or reset the network log and try again.
  • Most browsers save the file with a .har extension. If not, manually append .har to the filename.
  • HAR files are typically large. If you cannot attach the file to a support case due to size, notify your Salesforce Support engineer to explore alternative upload options.
  • If the saved HAR file is smaller than 1 MB, it likely did not capture the full request sequence and may not be useful for diagnosis. In this case, attempt a new capture.
  • Provide Salesforce Support with the exact steps or click path the user takes to reproduce the problem.
Knowledge-artikkelin numero

000385988

 
Ladataan
Salesforce Help | Article