DeepSyte

browser_console_logs

Get all console messages (errors, warnings, logs) captured during the session.

Parameters

ParameterTypeRequiredDescription
sessionIdstringYesSession ID from browser_navigate
levelstringNoFilter by all, error, warning, log, or exception
limitnumberNoMaximum number of entries to return
captionstringNoShort reason for checking console evidence

Example

Show me any console errors on this page

Response

Returns all console messages captured since the session started:

  • Errors — JavaScript exceptions, failed assertions
  • Warnings — deprecation notices, potential issues
  • Logsconsole.log() output

Notes

  • Console messages are captured from the moment the session is created
  • Response text includes current URL, session ID, filter, limit, and result count so agent transcripts show what was checked
  • Includes messages from page scripts, third-party scripts, and browser warnings
  • Essential for debugging JavaScript errors without opening DevTools

On this page