If @maxfair wants to read the message emitted by console.log(msg) in JavaScript, unfortunately Katalon Studo does not provide a way to do that easily.
There were several hacks previously discussed, but these were too much complicated. See
or
The previous discussion might not work today with the recent Katalon and browser versions.
As explained in Exploring Selenium BiDi Functionality | Awesome Testing , Selenium 4 supports Chrome DevTools protocol (CDP) which Katalon Studio v10 runs upon. With CDP, the console message should be accessible for the API clients. However I don’t know if it is possible for tests in Katalon Studio to listen to javascript errors in console. Katalon has not published any tutorial how to use CDP features in Katalon Studio v10. I suppose it would be tough to try it out.