Skip to content

Browser Use IAB backend cannot attach: Node REPL runtime missing __codexNativePipe #20248

@dddraxxx

Description

@dddraxxx

What version of the Codex App are you using?

Codex App 26.422.71525

What platform is your computer?

macOS 26.4.1, Apple Silicon / M4 Pro

What issue are you seeing?

The bundled browser-use:browser skill cannot attach to the Codex in-app browser using the iab backend.

The in-app browser is open and can load pages such as:

  • https://www.bybit.com/en/
  • http://127.0.0.1:8765/

But Browser Use fails before it can inspect or control the tab:

Failed to connect to browser-use backend "iab". No Codex IAB backends were discovered.

Evidence

The app-side IAB browser session appears active. Logs show Browser Use native pipe and browser sidebar lifecycle events, and the page reaches dom-ready.

However, the Node REPL runtime does not expose the native bridge:

console.log(JSON.stringify({
  hasImportMetaBridge: !!import.meta.__codexNativePipe,
  bridgeType: typeof import.meta.__codexNativePipe?.createConnection
}));

Observed output:

{"hasImportMetaBridge":false,"bridgeType":"undefined"}

Turn metadata is present:

{"hasMeta":true,"hasSessionId":true,"hasTurnId":true}

Expected behavior

When the in-app browser is open in the current Codex thread, browser-use:browser should attach to the current tab and allow inspection/control.

Actual behavior

The app-side browser session exists, but the tool runtime appears to be launched without import.meta.__codexNativePipe, so Browser Use cannot connect to the IAB backend.

Feedback ID

019dda9e-b1f6-70d0-b2c4-22e4e8241874

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingskillsIssues related to skills

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions