Get recent console logs and errors from the browser.
Returns the latest console output and any JavaScript errors,
including unhandled exceptions and promise rejections.
This reads from baseline data that the browser pushes every 5 seconds,
so it works even if the browser tab is in the background. If you get a
"no data" error, the browser hasn't connected yet — call check_session
to diagnose, then retry.
Connector