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_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Yes, the same here. It started working when that extension was released, but suddenly stopped working. Now I develop on VS Code, run commands on Terminal, but for tests using @Chrome skill I need to use Codex App.
Not really aware if it also happens on windows (but on quick google search it was already reported little ago).
The bizarre is that if I use @Computer (use) skill it works, VS Code Codex extension can perform test actions (not as beautiful as @Chrome skill in separated tab, but still works).
We got these two workarounds fellow, but still not what I expect.
Independent reproduction from Codex Desktop on macOS.
Environment:
Observed:
Browser is not available: extension.NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing"while attempting to open
/Applications/Google Chrome.app.This confirms the issue is not resolved by the documented reinstall/re-add recovery steps. Please treat the Chrome plugin/backend as defective in this environment and investigate backend discovery plus the helper's application-launch handling.