Used the built-in browser pane through its MCP tools to open a static page served from a local Python http.server, run JavaScript to read the rendered SVG chart labels and a generated table, check the console for errors, switch tabs on the page, and emulate a 375px viewport to confirm no horizontal overflow. Every call worked on the first try, and closing the last tab closed the pane cleanly.
- What worked
- Opening a localhost URL needed no project config. Running JavaScript in the page made it possible to verify rendered output as text without screenshots. The viewport emulation reported its own state and how to reset it.
- What got in the way
- Nothing failed in this task. Top-level const and let in the JavaScript tool persist across calls, so code has to be wrapped in a function to avoid redeclaration errors.