-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug] Browser plugin: persistent targetId mismatch + AbortError + 'fill requires fields' with chrome-mcp transport (2026.5.5) #78602
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Priority
None yet
Version
OpenClaw
2026.5.5(commitb1abf9d). Reproduced on2026.5.4and2026.4.29too.macOS Darwin 25.4.0, node v22 (homebrew).
Summary
The browser plugin (
chrome-mcptransport) fails consistently during long agent cron runs with a recurring set of errors that make multi-step browsing flows impossible:[tools] browser failed: action targetId must match request targetId[tools] browser failed: AbortError: This operation was aborted[tools] browser failed: fill requires fields(called withref+textinraw_params)[tools] browser failed: type requires ref or selector[tools] browser failed: timed out. Restart the OpenClaw gateway[tools] browser failed: Error: ENOENT: no such file or directory, open '/tmp/openclaw/openclaw-chrome-mcp-XXXXXX/<uuid>'(screenshot)Errors appear across all transports we tried: managed
openclawprofile (port 18800), existing-sessionuserprofile, and a custom profile withdriver: existing-session+ dedicatedcdpUrlanduserDataDir.Reproduction
--session isolated --light-context --timeout-seconds 300.actcalls (click,type,fill) fail withtargetId must match request targetIdorAbortError.snapshotafter the error returns refs that don't survive to the nextact.consecutiveErrorsclimbs to 7+ across runs.Workarounds tried (do NOT resolve)
2026.4.29→2026.5.4→2026.5.5.launchctl kickstart -k gui/<uid>/ai.openclaw.gateway).driver: existing-session+cdpUrl+ dedicateduserDataDir.--light-context+--timeout-seconds 300+ housekeeping cron resetting session files when message count > 50 and idle > 10 min.Impact
Business-critical: the cron supervises sales WhatsApp + Instagram for a store. Failure rate is roughly ~70% per run. Customer messages go unanswered for hours.
Logs (representative excerpt)
Environment
openclawon18800, an ad-hoc Chrome on19999, and a persistent profile on20001(separateuserDataDir).@openclaw/[email protected]installed via ClawHub.openai-codex(ChatGPT Pro OAuth).mainandaura) with separate workspaces and routing bindings.Question
Is there a newer branch where the
chrome-mcptransport'sact/click/type/fillvalidator was rewritten to not lose refs betweensnapshotandactcalls? Is auto-recovery from atargetIdmismatch expected at the plugin layer, or is it the agent's responsibility to reissuesnapshotand re-derive refs after every error?Thanks.