codex - 💡(How to fix) Fix Windows Codex App: Browser Use unavailable because Node REPL tool is not exposed [4 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19365Fetched 2026-04-25 06:10:43
View on GitHub
Comments
4
Participants
4
Timeline
11
Reactions
0
Timeline (top)
labeled ×5commented ×4cross-referenced ×1subscribed ×1

Root Cause

Browser Use is installed and enabled, but it cannot be used because the required Node REPL JavaScript tool is not exposed to Codex sessions.

Code Example

codex-cli 0.124.0-alpha.2
Browser Use plugin: openai-bundled/browser-use/0.1.0-alpha1

---

Microsoft Windows NT 10.0.26200.0 x64
WSL workspace enabled

---

browser_use      true
in_app_browser   true
js_repl          true

---

/mnt/c/Users/kutay/.codex/plugins/cache/openai-bundled/browser-use/0.1.0-alpha1/scripts/browser-client.mjs

---

mcp__node_repl__js
node_repl js
js
js_reset

---

const { setupAtlasRuntime } = await import(".../scripts/browser-client.mjs");
const backend = "iab";
await setupAtlasRuntime({ globals: globalThis, backend });

---

/tmp/codex-browser-use*

---

019dbf64-6f3b-78e1-98c6-b269727ee9e2

---

/mnt/c/Users/kutay/.codex/bin/wsl/codex features enable js_repl

---

Use Browser Use to inspect the current in-app browser tab at http://localhost:5173/

---

/mnt/c/Users/kutay/.codex/bin/wsl/codex features list | rg 'browser_use|in_app_browser|js_repl'

---

browser_use                         stable             true
in_app_browser                      stable             true
js_repl                             experimental       true
js_repl_tools_only                  under development  false
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

Codex Desktop Windows: 26.422.2437.0

Additional local runtime info:

codex-cli 0.124.0-alpha.2
Browser Use plugin: openai-bundled/browser-use/0.1.0-alpha1

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64
WSL workspace enabled

What issue are you seeing?

Browser Use is installed and enabled, but it cannot be used because the required Node REPL JavaScript tool is not exposed to Codex sessions.

Observed state:

browser_use      true
in_app_browser   true
js_repl          true

The Browser Use plugin exists locally and browser-client.mjs is present:

/mnt/c/Users/kutay/.codex/plugins/cache/openai-bundled/browser-use/0.1.0-alpha1/scripts/browser-client.mjs

However, tool discovery does not expose any of the required Node REPL execution tools:

mcp__node_repl__js
node_repl js
js
js_reset

Only unrelated MCP tools are available, such as Supabase and Cloudflare. Because of this, the Browser Use skill cannot bootstrap:

const { setupAtlasRuntime } = await import(".../scripts/browser-client.mjs");
const backend = "iab";
await setupAtlasRuntime({ globals: globalThis, backend });

No Browser Use IAB bridge/socket appears in WSL:

/tmp/codex-browser-use*

and ss -xlpn | rg 'codex-browser-use|browser-use|codex' does not show a Browser Use socket.

The app-server process starts, but only normal MCP servers are visible. No Node REPL or Browser Use bridge process appears.

What steps can reproduce the bug?

Feedback / uploaded thread id:

019dbf64-6f3b-78e1-98c6-b269727ee9e2

Steps:

  1. Use Codex Desktop on Windows with a WSL workspace.
  2. Ensure Browser Use is installed/enabled.
  3. Enable js_repl:
/mnt/c/Users/kutay/.codex/bin/wsl/codex features enable js_repl
  1. Fully quit Codex Desktop and restart it.
  2. Open a new thread and request Browser Use on the in-app browser, for example:
Use Browser Use to inspect the current in-app browser tab at http://localhost:5173/
  1. The Browser Use skill cannot start because the required Node REPL js tool is not available in the model/tool environment.

Diagnostics after restart:

/mnt/c/Users/kutay/.codex/bin/wsl/codex features list | rg 'browser_use|in_app_browser|js_repl'

returns:

browser_use                         stable             true
in_app_browser                      stable             true
js_repl                             experimental       true
js_repl_tools_only                  under development  false

But tool discovery still does not expose mcp__node_repl__js / node_repl js.

What is the expected behavior?

When browser_use, in_app_browser, and js_repl are enabled and the Browser Use plugin is installed, Codex sessions should expose the required Node REPL JavaScript execution tool, typically mcp__node_repl__js, so the Browser Use skill can bootstrap browser-client.mjs with backend: "iab" and control/inspect the in-app browser.

Additional information

This appears related to, but distinct from, the existing Windows Browser Use issues where Node REPL is available but IAB control/navigation fails:

  • #19187
  • #19298

In this case, the Node REPL tool is not exposed at all, so Browser Use cannot even reach the bootstrap phase.

A Playwright CLI fallback can test the same local app successfully, so the local web app itself is not the blocker.

extent analysis

TL;DR

The issue can be resolved by ensuring the Node REPL JavaScript tool is exposed to Codex sessions, possibly by re-enabling or configuring the js_repl feature.

Guidance

  • Verify that the js_repl feature is enabled and configured correctly by running the command /mnt/c/Users/kutay/.codex/bin/wsl/codex features list | rg 'browser_use|in_app_browser|js_repl' and checking the output.
  • Check if the mcp__node_repl__js or node_repl js tool is available in the tool discovery output.
  • Try re-enabling the js_repl feature using the command /mnt/c/Users/kutay/.codex/bin/wsl/codex features enable js_repl and then restarting Codex Desktop.
  • If the issue persists, try checking the diagnostics output after restart to see if there are any errors or warnings related to the js_repl feature.

Example

No code snippet is provided as the issue seems to be related to configuration and feature enabling.

Notes

The issue appears to be specific to the Windows platform with WSL workspace enabled, and the js_repl feature is marked as experimental. The fact that a Playwright CLI fallback can test the same local app successfully suggests that the issue is not with the local web app itself.

Recommendation

Apply workaround: Re-enable the js_repl feature and restart Codex Desktop to see if it resolves the issue, as the feature is marked as experimental and may require additional configuration or troubleshooting.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING