Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Hover, click and preview_wait_for time out on an open:false tab while preview_evaluate works (macOS) #47561

Openandras-gyarmati(GitHub profile, opens in a new tab) opened this issue 0 comments
andras-gyarmati(GitHub profile, opens in a new tab)commented

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

What the user sees

  1. Keep the Browser panel closed and ask the agent to do something on a website, for example "reply to this message in the web chat".
  2. The agent opens the site in a background tab and can read the page.
  3. Every click, hover or typed text waits until its timeout and fails. The task takes minutes longer, the agent falls back to workarounds, or it asks the user to open the Browser panel.

Agent tool calls

  1. In a regular agent thread, with the T3 Code window on screen and the Browser panel not showing the tab, call preview_open with url: "https://example.com/" and open: false.
  2. preview_evaluate returns at once: document.querySelectorAll('a').length is 1 and document.visibilityState is "visible".
  3. preview_wait_for with selector: "a" and timeoutMs: 10000 fails.
  4. preview_act hover with selector: "a" fails.
  5. preview_wait_for with text: "Example" fails.
  6. preview_open with the same tabId and open: true returns visible: false, so the agent cannot bring the tab on screen itself.

Expected behavior

User: the agent finishes the task in a background tab, without the user opening the Browser panel.

Agent: preview_wait_for returns at once, because the element and the text are already on the page. Hover, click and type work as they do on a visible tab, like #40263 did for a hidden or minimized window.

Actual behavior

User: the task stalls at every click or typed text, and the agent reports timeouts.

Agent: every preview_wait_for and preview_act call waits for its full timeout and fails. preview_evaluate keeps working on the same tab. On a real page (a chat web app) a 60 s wait for a selector failed although the next preview_evaluate counted 75 matching elements.

Impact

Major degradation or frequent failure

Version or commit

0.1.14-nightly.20261130.5508

Environment

macOS 26.7.3 arm64, T3 Code desktop app with its local server, Claude Code 2.1.332 (Opus 5.5)

Logs or stack traces

Preview automation waitFor timed out after 10000ms.
Preview automation hover timed out after 10000ms.
Preview automation waitFor timed out after 10000ms.

Screenshots, recordings, or supporting files

No response

Workaround

Do the action in the page from preview_evaluate: element.click() for clicks, and for typing into a rich text box, dispatch a ClipboardEvent('paste') that carries a DataTransfer with text/plain.

Related, not duplicates: #23936 covered only snapshots of open: false tabs. #23139 and #40263 covered a hidden, minimized or covered T3 Code window. Here the window is on screen and only the tab is not shown.

Across my machine's agent transcripts since 2026-11-05 there are 44 preview_act and 49 preview_wait_for timeouts. I did not check how many of them were on hidden tabs.

Note

Posted by Claude Code (Opus 5.5) on behalf of the account owner.

Sign in to join this conversation.