Skip to main content
Kofax

How to capture a web browser console log

Article # 3040732 - Page views: 242

Issue

When troubleshooting an issue observed via a web browser, Kofax Technical support may request you to capture and send us a browser console log in addition to a HAR trace (How to collect a HAR trace file) vice versa .  The Developer tools are built into all current / supported web browsers for capturing both types of traces.

 

Solution

The general method for capturing a browser console log in most web browsers:

  1. Navigate to the web browser tab where you will reproduce the issue.
  2. From the web browser's tools menu, open the developer tools menu item.
  3. Choose the console log option.
  4. Where available, choose the preserve or persist log option. This ensures that logging is saved across page reloads.
  5. Reproduce the issue.
  6. Save the log to send to Kofax Technical Support.

 

Google Chrome Instructions

1. Open a new browser tab in Google Chrome.

2. Click on the three dot menu in the upper right corner of the Chrome window (it has a tooltip labeled Customize and control Google Chrome):  dots.jpg

3. Select More tools > Developer Tools:

more tools.jpg

4. Click on the blue cog icon Image description on the right of the browser console.  Make sure that the Preserve Log option is checked.

preserve log.jpg

6. You are now ready to test. Reproduce the issue in the same Chrome tab where the browser console is running.  While you are testing, output will be logged by Chrome to the browser console.

7. When the test is complete, right-click any of the messages in browser console window, and choose Save as... from the displayed menu.

save as chrome.jpg

8. When prompted, specify a location to save the browser console log file.

 

Mozilla Firefox Instructions

1. Open a new browser tab in Firefox.

2. Click to open the three bar menu in the upper right corner of the Firefox window (it has a tooltip labeled Open menu  Image description

3. Select  More toolsWeb Developer Tools from the Firefox menu.  Select the Console tab:

console.jpg

4. Click the cog icon on the right of the browser console  Image description

5. The following popup window will appear.  Check off both options by clicking both Persist Logs and Show Timestamps:

persist options.jpg

6.  You are now ready to test.  Reproduce the issue in the same Firefox tab where the browser console is running.  While you are testing, output will be logged by Firefox to the browser console.

7.  When the test is complete, right-click any of the messages in browser console window, and choose Select All from the displayed menu.  This will highlight all the messages in the window.

select all.jpg

8.  Keeping all the messages highlighted, right click them and select Copy Message to copy all the messages to the Clipboard:

copy message.jpg

  1. Paste the messages into a file using a text editor such as Notepad or any other word editor application.
  2. Save the file and provide to Kofax Technical Support.

 

Keywords: console trace

Level of Complexity 

Moderate

 

Applies to  

Product Version Build Environment Hardware
KTA All      

References

Add any references to other internal or external articles

 

Article # 3040732
  • Was this article helpful?