-
Notifications
You must be signed in to change notification settings - Fork 628
Description
Describe the bug
The list_console_message tool is very verbose.
example: when copying directly from browser console its only 8k tokens.
when using list_console_messages tool its 40k tokens.
truncate or remove not important parts like timestamp t=1758906781192:597:24
too many of t=XXXX:line:line too many Log>
Right now this mcp is just another Playwright/puppeeter, unusable, the list_console_messages are too verbose , we cant actually use this for continues debuging, and there are no FILTER OPTION
<--- very important
its also good to return only pure text without the objects or arrays.
Take note when i test this its all Pure text logs, no object/arrays console logging.
To Reproduce
do a real debugging with console logs , use list_console_messages, compare normal copy directly from browser console and compare with list_console_messages output. compare token length difference
Expected behavior
same or similar token count from Direct Copy vs list_console_messages.
Chrome version: LTS
Coding agent version: LTS
Model version: LTS