Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.930.31730 (build 12947), verified from the installed application's Info.plist, not independently checked in the About dialog. The user reports that the client is up to date.
What subscription do you have?
Not independently verified; omitted rather than inferred.
What platform is your computer?
macOS 27.0.1, Apple Silicon arm64. uname -mprs: Darwin 27.0.0 arm64 arm. Observed on October 5, 2026.
What issue are you seeing?
In the Codex desktop in-app browser (IAB), attaching to an already-open page through cua.getTab() repeatedly times out and resets the JavaScript kernel. A separately tested page.getAXState() also times out, while direct tab discovery, binding, screenshots, and Playwright DOM snapshots work for the same tab.
The repeated attachment call was:
let currentTab = await cua.getTab({url: targetUrl}, {browser: "iab"});The error was:
js execution timed out; kernel reset, rerun your request
Read-only, layered observations:
| Operation | Tool wall time | Outcome |
|---|---|---|
cua.getBrowser({id: "iab"}) |
0.47–0.83 s (two observations) | Success |
browser.tabs.list() |
0.02 s | Success |
tabs.list() + tabs.get() |
12.02 s | Success |
page.screenshot({fullPage: false}) |
8.94 s | Success |
page.playwright.domSnapshot() |
30.18 s | Success |
page.getAXState() alone |
45.03 s | Tool timeout; kernel reset |
Fresh REPL in a later turn: tabs.list/get + domSnapshot |
42.28 s | Success |
These are a few tool-level wall-time samples, not internal operation timings or averages. This was observed on an authorized business page; its private URL and contents are omitted. Reproduction across unrelated websites has not been established.
What steps can reproduce the bug?
The sequence observed on this machine was:
- Have an authorized page already open in the IAB.
- In
cua_repl, initialize with exactly one documented entry-point call and read the returned documentation:
let browser = await cua.getBrowser({id: "iab"});- In subsequent calls, discover the tab and bind it using the ID from that fresh list:
let tabs = await browser.tabs.list();
nodeRepl.write(tabs);let page = await browser.tabs.get(targetTabId);- Run the following observations separately on the same tab:
await nodeRepl.emitImage(await page.screenshot({fullPage: false}));nodeRepl.write(await page.playwright.domSnapshot());await page.getAXState();- The screenshot and DOM snapshot succeed, but the AX call reaches the 45-second tool timeout and resets the kernel. Subsequent work requires reinitializing the REPL following the documented first-call rules.
The standalone AX failure was tested once after repeated cua.getTab() timeouts. The later successful workflow check did not retest AX.
What is the expected behavior?
AX observation should complete or return a specific, bounded failure. When DOM and screenshots remain usable for the same tab, an implicit AX failure should not appear only as a generic attachment timeout and kernel reset. Diagnostics should distinguish backend session-route failures from AX initialization, navigation-wait, or capture failures and offer a supported recovery path.
Additional information
Read-only inspection of the installed bundled create_browser_api.js shows that cua.getTab() waits for tab.getAXState({disableDiffing: true, emit: false}) after obtaining the tab and before returning it. In bind_tab.js, getAXState() uses ax.get("state") when the AX API exists; otherwise it falls back to a Playwright DOM snapshot.
Some IAB getInfo requests in local desktop logs failed with:
[browser-use-iab-api] iab backend info request failed
No ChatGPT browser route is available for browser session <redacted>
Other getInfo requests succeeded. The failing stack points to ensureBrowserUseSessionRoute() and getInfo(). The code supports distinct browser conversation IDs and session IDs, so their difference alone is not evidence of a defect.
The observations isolate a persistent failure in the AX observation path. They do not establish which AX substep is blocked, or whether the partial session-route failures cause the AX timeout.
A temporary workflow recovery is to use the documented getBrowser → tabs.list/get → playwright.domSnapshot() / screenshot() APIs in the same IAB. This restored read-only observation; it did not fix the internal AX or routing defect. No application binaries, profiles, proxy settings, or security controls were modified.
Possibly related reports:
- macOS in-app browser: policy verification unavailable, followed by 30-second timeouts #46350 — macOS IAB timeouts and session-route log observations.
- [Windows][Desktop] Built-in browser route can disappear and saved browser permissions cannot be verified #48670 — Windows IAB route and content-access failures.
This report adds the same-tab distinction between failing AX observation and working DOM/screenshot observation. A shared root cause with those reports is not established.
Privacy: private domains, page content, personnel data, screenshots, local usernames and paths, conversation IDs, raw logs, credentials, and cookies are intentionally excluded.
Activity
theChildinus commentedon Oct 29, 2026
Reproduced on 2026-10-29 with ChatGPT desktop 26.1023.51421 (build 22530, from Info.plist) on macOS 27.0.
Before restart,
cua.createBrowserTab()timed out after 20 seconds onhttps://example.com, although the tab title had loaded.cua.getTab()on that tab also timed out. A private business page showed the same symptom. Direct IAB tab access withplaywright.domSnapshot()successfully read both pages.After restarting the desktop app,
createBrowserTab()still timed out onexample.com. Direct DOM reading timed out once, then succeeded in 2.5 seconds. The new app log continued to reportNo ChatGPT browser route is available for browser session <redacted>; some route requests succeeded, so the warning’s causal role is unconfirmed.This adds reproduction on an unrelated public page and a newer app build. Please investigate the automatic page-state/AX read and session routing, and return a specific bounded error instead of resetting the JS kernel.
No internal URLs, page contents, screenshots, raw logs, credentials, or session IDs are included.
tianjingyu123 commentedon Nov 11, 2026
补充一组 Windows 上的复现和两个本机对话的对照结果,观测日期为 2026-11-10(America/Los_Angeles)。这组数据与本 issue 的“自动读取/AX 超时,而同一 IAB 的专用 DOM 接口可用”症状一致,请维护者核查。
环境
10.0.26200.0。OpenAI.Codex 26.1103.7773.0,由 Windows Get-AppxPackage 查询得到,未在 About 对话框独立核对。hostId=local,目标都是当前对话右侧的 ChatGPT in-app browser(iab)。https://example.com/,标题为 Example Domain。每项对照均在确认页面已经加载后开始计时。实测结果
成功的读取均确认了页面正文和 Learn more 链接。窗口 A 在之前的独立验证中还成功点击 Learn more,并核实 URL 为
https://www.iana.org/help/example-domains、标题为 Example Domains。在窗口 A,更早使用约 30 秒的工具上限时,自动读取多次超时。提高到 55 秒后,原标签页的自动读取才成功。窗口 B 的首次 createBrowserTab 调用在 55,041.0 ms 时超时,随后标签列表确认页面实际已经打开,因此没有重复打开页面。
原始错误
复现步骤
https://example.com/。如果打开调用超时,先检查标签列表,确认标题和 URL,避免重复打开。保持页面已加载后开始以下各项测试。期望行为
已加载页面的自动绑定和 AX 读取应在合理时间内返回,或返回具体且有界的错误。页面已经打开时,应明确报告操作是否已执行。希望维护者定位自动页面读取的延迟来源,提供稳定修复或受支持的恢复方法。
可比性和结论范围
每个精确计时点只测了一次,两个窗口未同时测试。超时会重置执行环境,窗口前台状态、模型和其他运行条件也未严格对齐。当前观测不能量化稳定速度差,也不能把 Dot 创建方式认定为原因。专用 DOM 接口是本次实测可用的临时恢复路径,完整根因仍待维护者调查。
此补充报告包含经用户授权的公开测试结果和复现代码。