You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The playwright_console_logs tool currently captures standard console logs but fails to retrieve JavaScript errors and exceptions that are visible in the browser's developer console.
Steps to Reproduce
Run a web page that contains console logs and JavaScript errors
Call playwright_console_logs with type: all parameter
Compare results with actual browser console output
Expected Behavior
The playwright_console_logs tool should return all console output including errors, warnings, and exceptions.
Actual Behavior
Only standard console logs (from console.log()) are returned. JavaScript errors and exceptions are completely omitted from the results.
Audio system initialized successfully
DEBUG: Controls manager initialized
DEBUG: Snake initialized
Uncaught TypeError: this.snake.getBody is not a function
at Game.getOccupiedPositions (game.js:1209:42)
at Game.initializeGameState (game.js:429:41)
at Game.startGameWithCountdown (game.js:364:14)
at HTMLButtonElement.<anonymous> (game.js:277:18)
Environment
Playwright version: 1.0.1
OS: Win 11
Node.js version: 22.14
Additional Context
This issue impacts debugging capabilities since errors are not visible through the tool interface. It makes it difficult for LLM to diagnose problems
The text was updated successfully, but these errors were encountered:
This is currently the limitation of tool to accept beyond DEBUB, ERROR, LOG, ALL, but not the uncaught TypeError, seems like ALL is not falling under this category, which is crazy.
Title
Bug: playwright_console_logs tool doesn't capture JavaScript errors/exceptions
Description
Summary
The
playwright_console_logs
tool currently captures standard console logs but fails to retrieve JavaScript errors and exceptions that are visible in the browser's developer console.Steps to Reproduce
playwright_console_logs
withtype: all
parameterExpected Behavior
The
playwright_console_logs
tool should return all console output including errors, warnings, and exceptions.Actual Behavior
Only standard console logs (from
console.log()
) are returned. JavaScript errors and exceptions are completely omitted from the results.Example
When calling:
Results returned:
Actual browser console output:
Environment
Additional Context
This issue impacts debugging capabilities since errors are not visible through the tool interface. It makes it difficult for LLM to diagnose problems
The text was updated successfully, but these errors were encountered: