You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex hangs on agent-browser background sessions for websites with blank pages #14755
What terminal emulator and version are you using (if applicable)?
kitty 0.44.0
What issue are you seeing?
Codex can hang for several minutes when using Agent Browser (headless chrome automation) in the background. Steering won't work and even if I cancel the current execution and send a new message, it would take few more minutes to respond back. I think the site had a blank page, and it got stuck on it indefinitely.
we see similar hangs with browser automation sessions. the issue is usually that the browser navigates to a page that either takes forever to load or triggers an infinite redirect loop, and the automation just waits. we added a hard timeout per navigation action (15 seconds) plus a content-loaded check that verifies the page actually has visible elements before trying to interact. blank pages specifically need a fallback that checks document.readyState and gives up if it's stuck in loading.
Activity
github-actions commentedon Mar 15, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
m13v commentedon Mar 18, 2026
we see similar hangs with browser automation sessions. the issue is usually that the browser navigates to a page that either takes forever to load or triggers an infinite redirect loop, and the automation just waits. we added a hard timeout per navigation action (15 seconds) plus a content-loaded check that verifies the page actually has visible elements before trying to interact. blank pages specifically need a fallback that checks document.readyState and gives up if it's stuck in loading.
m13v commentedon Mar 18, 2026
here's our browser automation layer that handles the timeout and content-loaded checks - prevents hangs on blank or slow-loading pages: https://github.com/mediar-ai/terminator/blob/main/crates/terminator/src/lib.rs