Bug Description
When using browser_vision tool on a WSL2 Linux environment, screenshots fail with the error:
Failed to save screenshot to /home/<user>/.hermes/cache/screenshots/<id>.png: 系统找不到指定的路径。 (os error 3)
Root Cause
Browserbase runs as a remote browser service. The screenshot path /home/<user>/.hermes/cache/screenshots/ is a WSL local path that Browserbase remote servers cannot access. Even when the directory exists locally, the remote browser process cannot write to it.
Expected Behavior
browser_vision should work on WSL2 environments using Browserbase remote browser.
Environment
- OS: WSL2 Ubuntu 24.04
- Hermes version: v0.10.0 (v2026.4.16)
- Browser tool: Browserbase remote backend
- Browser tool status: Connected and functional (navigation, clicking, scrolling all work)
Suggested Fix
Add a config option like browser.screenshot_dir to redirect screenshot output to a path accessible by Browserbase, or implement a workaround where screenshots are saved via a local agent-side mechanism rather than by the remote browser process.
Additional Context
- All other browser tools work fine (navigate, click, type, scroll, console)
- The issue only affects
browser_vision which needs to save a screenshot file
- The remote Browserbase service has no access to the WSL filesystem path
Bug Description
When using
browser_visiontool on a WSL2 Linux environment, screenshots fail with the error:Root Cause
Browserbase runs as a remote browser service. The screenshot path
/home/<user>/.hermes/cache/screenshots/is a WSL local path that Browserbase remote servers cannot access. Even when the directory exists locally, the remote browser process cannot write to it.Expected Behavior
browser_visionshould work on WSL2 environments using Browserbase remote browser.Environment
Suggested Fix
Add a config option like
browser.screenshot_dirto redirect screenshot output to a path accessible by Browserbase, or implement a workaround where screenshots are saved via a local agent-side mechanism rather than by the remote browser process.Additional Context
browser_visionwhich needs to save a screenshot file