[BUG] Claude in Chrome: tabGroupId flaps between tabs_context_mcp calls; actions on just-listed tabs fail with "Couldn't determine which page this action targets"
Status Open
Reported on v2.1.247
Maintainer reply None cached
Activity 0 comments · opened Aug 27, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Code: 2.1.247 (CLI)
OS: macOS (Darwin 25.6.0)
Browser: Google Chrome, Claude in Chrome extension connected
While automating a docs.google.com form fill from the CLI, the extension's tab tracking became inconsistent mid-session and stayed that way:
tabs_context_mcpreturned a differenttabGroupIdon consecutive calls with no user tab changes:1734025282→1131221108→1133103867→ back to1131221108. The tab listed inside the group changed accordingly (same underlying form page, different tabId).navigateto the Google Forms URL succeeded (get_page_textreturned the full form,read_pagereturned element refs).- Subsequent
form_input/read_page/browser_batchcalls on the same tabId thattabs_context_mcphad just listed failed with eitherTab <id> no longer exists. Call tabs_context_mcp to get current tabs.or, persistently,Couldn't determine which page this action targets. Re-read tabs_context_mcp and try again. - Re-reading
tabs_context_mcpimmediately before retrying made no difference — the tab appears in the context result, and the very next action on it fails. - Inconsistency within the same window:
tabs_create_mcpsucceeded and returned a new tabId whileread_pageon the listed, loaded tab failed. - One
browser_batch(navigate + wait + read_page) timed out with "The Chrome extension is connected but the page may be loading, unresponsive, or waiting on a permission prompt in the extension side panel" — but no site-approval prompt was visible to surface, so if one was pending it was never shown. Possibly adjacent to the (closed) #85999, though that case was hard permission denials on every domain; here actions intermittently succeed and the distinctive symptom is the tab-group identity flapping.
Expected
Actions target the tab that tabs_context_mcp just returned; the tab group id is stable across calls within one session; if a site-approval prompt is blocking actions, the error says so explicitly (or the prompt is surfaced).
Repro (as observed)
- From Claude Code CLI,
tabs_context_mcp {createIfEmpty:true}→ note tabGroupId. navigatea listed tab to adocs.google.com/forms/...URL;read_page(works, refs returned).- Call
form_inputon a returned ref → "Tab no longer exists". tabs_context_mcpagain → different tabGroupId, form tab listed under a new/old tabId.- Any action on that listed tabId → "Couldn't determine which page this action targets", repeatably.
Timestamps: 2026-08-27, tabIds observed: 127118507, 127117940, 127117943.