I have ever tried capturing a snapshot of Chrome console.log using an external library kklisura/chrome-dev-tools-client
It once worked with old versions of Chrome. However this project seems inactive; no updates since May 2021. On the other hand, Chrome browser evolves day by day. I noticed that this library does not work with the recent versions of Chrome v115 and newer.