Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.803.41515
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Windows 11 Pro, version 25H2 (OS Build 26200.8973)
What issue are you seeing?
The Codex Chrome control connection consistently times out when clicking a normal enabled button inside a popup window.
Codex can successfully:
- open the popup;
- switch to the popup;
- read the popup DOM and fixed text;
- confirm that the button is visible and enabled.
However, clicking the button fails with:
Timed out after 3000ms waiting for CDP command Runtime.evaluate.
In the post-reinstallation test, the failure occurred during round 1 while clicking the popup button in state STATE_INITIAL. Round 2 was not attempted.
No Chrome control kernel reset, popup handle loss, or plugin disconnection was observed.
What steps can reproduce the bug?
- Open the current Windows ChatGPT desktop app with the Chrome plugin installed.
- Open a non-sensitive local test page served only on
127.0.0.1. - Click a button on the parent page to open a normal popup.
- Switch control to the popup.
- Read the fixed text
POPUP_CONTROL_TEST_OK. - Confirm that the popup test button is visible and enabled.
- Click the popup test button.
- The CDP
Runtime.evaluatecommand times out after 3000 ms.
What is the expected behavior?
Codex should click the enabled popup button, observe its state change, return to the parent page, close the popup, and repeat the same sequence without a CDP timeout.
Additional information
Troubleshooting already completed:
- Confirmed that the ChatGPT desktop app is up to date.
- Completely restarted Windows, Chrome, and the ChatGPT desktop app.
- Uninstalled and reinstalled the Chrome plugin.
- Confirmed that the Chrome extension has full site access.
- Confirmed that the ChatGPT Chrome side panel loads normally.
- Reproduced the issue in a fresh Codex chat using a non-sensitive local test page.
- Confirmed that the same popup-click timeout occurred before and after reinstalling the plugin.
- All local test files and the temporary HTTP server were cleaned up.
Feedback/session ID:
019fecaf-9d7b-71c3-8639-8fa4dde4e95c
Possibly related issue: #35051, although that report involves file transfer behavior. This reproduction does not involve file uploads or downloads.
Activity
github-actions commentedon Aug 10, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
masashinew-byte commentedon Oct 3, 2026
Additional Windows browser-control investigation, scoped to input-deadline cleanup rather than an established cause of the popup issue.
Environment observed: Windows desktop app package 26.930.3748.0, Codex CLI 0.160.0, browser extension 1.26.901.11451. The installed browser-service code was unchanged across the recent app update.
In isolated tests of extracted installed functions, the ordinary locator input path shares a 3000 ms action deadline between focus preparation and input dispatch. For example, a synthetic 2217 ms focus phase leaves 783 ms for the next CDP command. This explains how the reported remaining timeout can be less than three seconds; it does not establish why a real browser command was slow.
A separate cleanup issue was reproduced: after a modifier key-down succeeds and a subsequent key-down times out, one input-sequence path does not attempt the modifier key-up. A guarded path attempts cleanup using the original expired deadline, so cleanup can fail before dispatch and replace the original action error. A CDP timeout may already have detached the debugger before this handling runs. A successful or late callback is not proof that an input was delivered or cancelled.
The proposed correction keeps the original action deadline and original error. Cleanup has a separate short bound and is allowed only if the same browser, session, tab, document, owner, attachment, and input-sequence generation are still current and no native input is outstanding. It must never implicitly reattach or replay key-down. If attachment has already been lost, it records skipped cleanup and retains the unknown outcome. This needs an atomic, no-attach provider operation; it cannot be safely implemented by an ordinary external caller issuing a new key-up after an error.
The extracted-code regression checks and isolated candidate contract tests pass (11 + 16 cases). These are not an installed runtime patch or a real-browser reproduction of a stuck modifier. No application files, saved sessions, policy settings, or browser extension files were modified. No private logs, account details, paths, or original tool arguments are attached.
Please consider preserving the original input error, guaranteeing cleanup ownership at the provider boundary, and exposing whether a timed-out command may already have been dispatched. The current machine's silent click outcome and DOM read timeout remain separate observations until the live comparison isolates a connection.