What happened?
Codex Desktop in-app browser can navigate to real webpages and read tab metadata, but Browser Use DOM inspection hangs/timeouts on real pages.
Observed behavior:
- For
https://www.baidu.com/:
tab.url() succeeds and returns https://www.baidu.com/
tab.title() succeeds and returns 百度一下,你就知道
tab.playwright.locator("body").innerText(...) times out
tab.playwright.domSnapshot() times out
- For a WeChat article page:
tab.url() succeeds
tab.title() succeeds
#activity-name, #js_content, domSnapshot(), visible DOM, screenshot, and clipboard-based extraction time out
- For
about:blank:
tab.playwright.locator("body").count() succeeds and returns 1
body.innerText() succeeds with empty text
So the in-app browser page and metadata channel work, but DOM inspection for real webpages appears stuck.
Expected behavior
The in-app browser Browser Use backend should support DOM inspection for rendered pages, at least for simple public pages like https://www.baidu.com/.
Environment
- OS: macOS on Apple Silicon
- Codex Desktop App: current desktop app session
- Codex CLI:
0.131.0-alpha.9
- Browser plugin:
openai-bundled/browser/0.1.0-alpha2
- Chrome plugin also installed and working
- In-app browser visible and able to navigate manually
Diagnostics already tried
- Restarted Codex Desktop.
- Installed matching npm CLI version:
@openai/codex@0.131.0-alpha.9.
- Recreated the managed standalone path expected by app-server daemon.
- Started app-server daemon successfully.
Daemon status after fix:
{
"status": "running",
"cliVersion": "0.131.0-alpha.9",
"appServerVersion": "0.131.0-alpha.9",
"socketPath": "$HOME/.codex/app-server-control/app-server-control.sock"
}
Even after daemon is running, real-page DOM inspection still times out.
Minimal repro
- Open Codex Desktop.
- Open the in-app browser.
- Navigate to
https://www.baidu.com/ manually or via Browser Use.
- Run Browser Use against the selected IAB tab:
const tab = await browser.tabs.selected();
await tab.url(); // succeeds
await tab.title(); // succeeds
const body = tab.playwright.locator("body");
await body.count();
await body.innerText({ timeoutMs: 15000 });
Actual: DOM calls time out / tool execution times out.
Notes
Chrome extension backend works on the same machine for the same WeChat article, so the issue seems specific to the Codex in-app browser Browser Use DOM bridge, not webpage availability.
What happened?
Codex Desktop in-app browser can navigate to real webpages and read tab metadata, but Browser Use DOM inspection hangs/timeouts on real pages.
Observed behavior:
https://www.baidu.com/:tab.url()succeeds and returnshttps://www.baidu.com/tab.title()succeeds and returns百度一下,你就知道tab.playwright.locator("body").innerText(...)times outtab.playwright.domSnapshot()times outtab.url()succeedstab.title()succeeds#activity-name,#js_content,domSnapshot(), visible DOM, screenshot, and clipboard-based extraction time outabout:blank:tab.playwright.locator("body").count()succeeds and returns1body.innerText()succeeds with empty textSo the in-app browser page and metadata channel work, but DOM inspection for real webpages appears stuck.
Expected behavior
The in-app browser Browser Use backend should support DOM inspection for rendered pages, at least for simple public pages like
https://www.baidu.com/.Environment
0.131.0-alpha.9openai-bundled/browser/0.1.0-alpha2Diagnostics already tried
@openai/codex@0.131.0-alpha.9.Daemon status after fix:
{ "status": "running", "cliVersion": "0.131.0-alpha.9", "appServerVersion": "0.131.0-alpha.9", "socketPath": "$HOME/.codex/app-server-control/app-server-control.sock" }Even after daemon is running, real-page DOM inspection still times out.
Minimal repro
https://www.baidu.com/manually or via Browser Use.Actual: DOM calls time out / tool execution times out.
Notes
Chrome extension backend works on the same machine for the same WeChat article, so the issue seems specific to the Codex in-app browser Browser Use DOM bridge, not webpage availability.