Skip to content

Bug: browser_vision screenshot fails on WSL2 with Browserbase remote backend #11729

@titus1113

Description

@titus1113

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existstool/browserBrowser automation (CDP, Playwright)tool/visionVision analysis and image generationtype/bugSomething isn't working

    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