I may not be understanding the the context of #3 (Javascript console, page contents showing traceback?), but I'd be looking at MCP servers for Playwright or https://github.com/VibiumDev/vibium or that browser automation MCP that I think Google announced a month or so for Chrome and the name of which escapes me.