Loading

How to Capture JS Console Log Files in Chrome, Firefox, Safari, and Edge for Salesforce Support

Veröffentlichungsdatum: Oct 9, 2026
Beschreibung

When a Salesforce page fails to load or behaves unexpectedly, capturing a JavaScript (JS) Console log from the browser's developer tools helps Support identify client-side errors. This article explains how to capture the console log in Chrome, Firefox, Safari, and Edge.

Lösung

This article answers the question: how do you capture a JavaScript (JS) Console log in Chrome, Firefox, Safari, or Edge so Salesforce Support can troubleshoot a page that fails to load or behaves unexpectedly? In each browser, you open the developer tools, turn on log preservation, reproduce the issue, and save the log.

Capture a JS Console Log in Chrome

  1. Open the Chrome menu (3 dots in the top right corner), then select More Tools and Developer Tools.
  2. To remove the docking of the log in the browser, click the square icon at the bottom left.
  3. In the tab, select Console and check the Preserve Log checkbox.
  4. Start reproducing the undesired behavior.
  5. If you see errors or something indicating the cause of the issue, go to the developer tools, right-click, and select Save As.

Capture a JS Console Log in Firefox

  1. Press F12.
  2. In the tab, select Console and check the Preserve Log checkbox.
  3. Start reproducing the undesired behavior.
  4. If you see errors or something indicating the cause of the issue, go to the developer tools, right-click, and select Save As.

Capture a JS Console Log in Safari

  1. Click Preferences, then Advanced in the main menu.
  2. Enable Show Develop menu in menu bar. A new Develop option appears on the top menu.
  3. Choose Show error console.
  4. Start reproducing the undesired behavior.
  5. If there are errors or something indicating the cause of the issue, go to the developer tools, right-click, and select Save As.

Capture a JS Console Log in Edge

  1. Press F12 on the keyboard.
  2. A component appears on the right side of the screen.
  3. In the tab, select Console and the Preserve Log icon.
  4. Start reproducing the undesired behavior.
  5. If there are errors or something indicating the cause of the issue, copy the details and paste them into a notepad.
Nummer des Knowledge-Artikels

000387975

 
Laden
Salesforce Help | Article