Hello everyone,
I'm facing an issue where PW stops capturing any console logs after a certain point when using onConsoleMessage
.
The issue seems to occur after a relatively large JSON object gets logged to the console.
I've tried setting DEBUG=pw:api
and PWDEBUG=1
, both headless and headful modes, but it didn't help.
Is there a default timeout after which it simply stops receiving logs, or am I missing some other thing?
I'm using v1.37.0 with chromium.
This thread is trying to answer question "Why does Playwright stop capturing console logs after a large JSON object gets logged and how can this be resolved?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].