Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 1.23 KB

File metadata and controls

5 lines (4 loc) · 1.23 KB
react-doctor patch

Make browser eval and browser eval --profile self-reporting about what an action did to the page. A driven action that triggers a page-side error (a console.error or an uncaught throw) now appends an "Errors during eval" section instead of failing silently, so a broken interaction surfaces without hand-wiring a console hook — including when the action itself throws (a missing locator, a timeout), where those page errors are appended to the thrown message rather than dropped. --profile no longer throws the whole recording away when the action fails: it returns the captured picture (console, network, CPU, timeline, React) with the failure as an evalError, since that picture is the failure's context. --profile (and the browser_profile MCP tool) now reports page geometry alongside memory — viewport size, devicePixelRatio, scroll offset, and how far the page scrolled while the action ran — so "did the element move, or did the page scroll under me?" is answerable from the output. Page scroll delta only prints when the viewport actually moved. Console and network capture now starts after the page settles, so the recording covers the driven action's window rather than pre-action load traffic.