Browswer/Chrome Plugin is not working with VSCode Ext
What version of the IDE extension are you using?
26.623.61825
What subscription do you have?
Pro
Which IDE are you using?
VS Code
What platform is your computer?
Macos M4
What issue are you seeing?
- test with browser like :
1) open http:localhost:5173, 2) cnt how much topic on first page - it's working with codex app
- it's not working with vs code, follow are codex error msg, I hope it will help, thx all
What steps can reproduce the bug?
Bug Report: Chrome plugin cannot discover Chrome target in VS Code Codex
I tested the Chrome plugin from VS Code Codex, but it could not open or control Chrome.
Environment:
- Host: macOS
- Codex environment: VS Code Codex plugin
- Chrome plugin path:
/Users/xxx/.codex/plugins/cache/openai-bundled/chrome/26.623.61825 - Chrome plugin skill:
chrome:control-chrome - Target URL attempted:
http:localhost:5173/ - Chrome version detected:
145.0.7632.76 - Chrome app path detected:
/Applications/Google Chrome.app - Codex Chrome Extension ID:
hehggadaopoacecdllhhajmbjkdcmajg - Codex Chrome Extension version detected:
1.1.5_0 - Selected Chrome profile:
Default
What happened:
- Initialized the Chrome plugin browser runtime using:
/Users/xxx/.codex/plugins/cache/openai-bundled/chrome/26.623.61825/scripts/browser-client.mjs
- Tried to select Chrome with:
agent.browsers.get("extension")
- It failed with:
Browser is not available: extension
- Checked available browser targets:
agent.browsers.list()
Result:
``json``
[]
Diagnostics performed:
- Chrome running check: passed
``text``
Google Chrome running: yes
pid: 59331
process: Google Chrome
- Installed browser check: passed
```text
Installed known internet browsers
- Google Chrome
bundle id: com.google.Chrome
version: 145.0.7632.76
path: /Applications/Google Chrome.app
```
- Codex Chrome Extension check: passed
``json``
{
"extensionId": "hehggadaopoacecdllhhajmbjkdcmajg",
"selectedProfileDirectory": "Default",
"installed": true,
"enabled": true,
"versions": ["1.1.5_0"],
"exitCode": 0
}
- Native host manifest check: passed
``json``
{
"manifestPath": "/Users/xxx/Library/Application Support/Google/Chrome/NativeMessagingHosts/com.openai.codexextension.json",
"expectedHostName": "com.openai.codexextension",
"actualHostName": "com.openai.codexextension",
"expectedOrigin": "chrome-extension://hehggadaopoacecdllhhajmbjkdcmajg/",
"exists": true,
"nameMatches": true,
"hasExpectedOrigin": true,
"correct": true,
"problem": null
}
Recovery attempt:
- Tried opening a Chrome window via the plugin script:
node scripts/open-chrome-window.js
- It failed with:
``text``
Command failed: open -n -a /Applications/Google Chrome.app --args --profile-directory=Default --new-window about:blank
The application /Applications/Google Chrome.app cannot be opened for an unexpected reason,
error=Error Domain=NSOSStatusErrorDomain Code=-10827
"kLSNoExecutableErr: The executable is missing"
Summary:
Although Chrome is installed and running, the Codex Chrome Extension is installed and enabled, and the native host manifest appears correct, the Chrome plugin cannot discover any browser targets. agent.browsers.list() returns an empty array, and agent.browsers.get("extension") fails with Browser is not available: extension.
This prevented Codex from opening the target URL through the Chrome plugin.
What is the expected behavior?
vs code should work just like codex app do.
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗