You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
1.7.0 regression: list_pages fails permanently after selected page is closed #2898
Regression in 1.7.0 (noted in #2033, where a new issue was requested). After the selected page is closed by something other than this server's own call, every tool call, including list_pages and select_page, fails with The selected page has been closed. Call list_pages to see open pages. The server never recovers until it is restarted.
Reproduction
Start with --autoConnect and select a page.
Close that tab from the Chrome UI (or via close_page from another client sharing the instance).
Call list_pages. It fails with the error above, and so does every later call.
Expectation
list_pages always works, and the selection resets or moves after the selected page closes.
Thanks for the report! This was a regression in 1.7.0 introduced by #2455 (the localhost telemetry change looked up the selected page before the response was built, and threw if it had been closed). It was fixed in #2588, which shipped in v1.8.0.
I verified with a scripted A/B test (open a page with new_page, close it externally via /json/close/<id>, then call list_pages): 1.7.0 fails with The selected page has been closed…, while 1.8.0, 1.10.1 and current main return Note: the previously selected page was closed. Page 1 is now selected. and continue to work.
Could you please upgrade to the latest version (chrome-devtools-mcp@latest, currently 1.10.1) and let us know if you still see the issue with --autoConnect? Closing as fixed for now; feel free to reopen if it still reproduces on the latest version.
Activity
yulunz commentedon Oct 5, 2026
Thanks for the report! This was a regression in 1.7.0 introduced by #2455 (the localhost telemetry change looked up the selected page before the response was built, and threw if it had been closed). It was fixed in #2588, which shipped in v1.8.0.
I verified with a scripted A/B test (open a page with
new_page, close it externally via/json/close/<id>, then calllist_pages): 1.7.0 fails withThe selected page has been closed…, while 1.8.0, 1.10.1 and currentmainreturnNote: the previously selected page was closed. Page 1 is now selected.and continue to work.Could you please upgrade to the latest version (
chrome-devtools-mcp@latest, currently 1.10.1) and let us know if you still see the issue with--autoConnect? Closing as fixed for now; feel free to reopen if it still reproduces on the latest version.