Skip to content

[Urgent][macOS][Browser Use] Visible authenticated tabs disappear from agent inventory; unreliable reconnection repeatedly blocks work #59393

Open

Description

@sassan-ali-tat

Urgent: recurring browser-control failure blocks real work

This is a serious reliability problem, not a cosmetic inconvenience. Existing, authenticated in-app browser tabs repeatedly become invisible to the agent during normal work. Tasks stall, recovery attempts waste substantial time, and even cleanup of an already-open administration interface becomes impossible.

As the affected user, I have encountered this class of problem for months. I find it unacceptable that a basic capability—reconnecting to a tab that is visibly open—still cannot be relied on. This is severely frustrating and undermines the practical value of browser automation.

Please prioritize this, assign an owner, and provide a concrete status update and a supported recovery procedure. Repeatedly asking the agent to reset its runtime must not be the normal workflow.

Environment

  • ChatGPT desktop app, Work mode; bundle identifier com.openai.codex.
  • Installed app version 26.1029.61003, build 24614, read from Info.plist.
  • macOS 26.7.2, build 25G332.
  • Observed on 2026-11-04.
  • Subscription/account details omitted from this public report.

Directly observed failure

The UI and ambient browser context report three open tabs, including the selected authenticated administration page. The agent previously controlled those very same tabs successfully.

Later in the same conversation:

await cua.getState();                       // iab browser found; tabs: []
await cua.listTabs({ browser: "iab" });     // []
await browser.tabs.list();                 // []
await cua.getTab({ url: targetUrl }, { browser: "iab" });
// Tab not found in browser 2.

Reattachment using a previously observed provider tab ID also failed. Previously valid handles sometimes returned Browser is not available: 6; browser numbers varied between runtime sessions.

This fails at inventory/attachment level, before website interaction or authentication can even be checked.

Observed sequence and recovery attempts

  1. Open several authenticated tabs in the app's built-in browser.
  2. Let the agent attach to an existing tab and successfully perform work.
  3. Continue through multiple turns in the same conversation.
  4. Ask it to resume work in the same tab.
  5. The visible tabs remain present, but enumeration returns zero tabs.
  6. Reset cua_repl, enumerate again, and attempt to reattach.

Resetting sometimes restored all three original tabs; later, repeated resets did not. Setting browser visibility to true did not restore the missing inventory either. The trigger is not isolated, so these are observed steps rather than a guaranteed minimal reproducer.

An earlier replacement-tab attempt allowed operations in a separate authenticated page, but the user could not follow those actions in the original tab. Opening duplicate administration pages is not a reliable substitute for reconnecting to the existing session.

Concrete operational impact

A service was installed and verified successfully. Subsequently, the agent could not reconnect to the existing administration tab to close its diagnostic terminal. The user repeatedly had to interrupt the work and request recovery. A short task expanded into a lengthy troubleshooting exercise because the browser-control session could not be trusted.

Required behavior

  • Existing user-visible tabs and the automation inventory must remain consistent.
  • Reattachment must preserve the association with the original tab and its current UI state.
  • Runtime resets must reconnect predictably, or return an actionable diagnosis.
  • The user must be able to see the tab the agent actually controls.
  • Please provide a supported workaround now and a clear plan for a durable fix.

From a user's perspective, reliably locating and reattaching an already-open tab should be a basic engineering requirement. I cannot assess the internal complexity of the fix, but the continued unreliability is unacceptable for professional use.

Evidence boundaries and related reports

The empty inventories, attachment failures, successful operation beforehand and inconsistent reset recovery were directly observed in this session. The months-long history is the user's report. A stale conversation/browser-session association is a hypothesis, not an established root cause.

Related: #38897 (very similar visible-tab/empty-inventory failure) and #54520 (related browser-context failure on a different surface; not claimed to have the same root cause).

Customer URLs, customer names, credentials, session IDs and tab IDs are excluded.

Activity

  1. added
    bug
    app
    on Nov 4, 2026
  2. sassan-ali-tat commented on Nov 4, 2026

    @sassan-ali-tat
    Author

    Additional diagnostic lead from the affected user: session timeout or an expired browser attachment is the suspected mechanism. Access to existing tabs worked initially and disappeared later; resetting sometimes restored it. We have not measured a reproducible idle duration or observed a specific expiry event. Please investigate session/attachment TTLs, keepalive and refresh behavior, and whether runtime reinitialization reuses expired bindings instead of reattaching to the current user-visible browser.

  3. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbrowserbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions