openclaw - 💡(How to fix) Fix [Bug]: [Windows] Chrome MCP screenshot fails with ENOENT - random temp folder name not created [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#78524Fetched 2026-05-07 03:35:56
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
2
Author
Timeline (top)
labeled ×2closed ×1commented ×1

On Windows, when using Chrome MCP with profile="user", the screenshot function fails with ENOENT error. The error shows that OpenClaw tries to save the screenshot to a random temporary folder name like openclaw-chrome-mcp-XXXXXX but that folder doesn't exist.

Error Message

On Windows, when using Chrome MCP with profile="user", the screenshot function fails with ENOENT error. The error shows that OpenClaw tries to save the screenshot to a random temporary folder name like openclaw-chrome-mcp-XXXXXX but that folder doesn't exist. Error: ENOENT: no such file or directory, open 'C:\Users\ZHENGZ~1\AppData\Local\Temp\openclaw\openclaw-chrome-mcp-XXXXXX\screenshot-file-uuid'

Root Cause

On Windows, when using Chrome MCP with profile="user", the screenshot function fails with ENOENT error. The error shows that OpenClaw tries to save the screenshot to a random temporary folder name like openclaw-chrome-mcp-XXXXXX but that folder doesn't exist.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

On Windows, when using Chrome MCP with profile="user", the screenshot function fails with ENOENT error. The error shows that OpenClaw tries to save the screenshot to a random temporary folder name like openclaw-chrome-mcp-XXXXXX but that folder doesn't exist.

Steps to reproduce

  1. Start Chrome MCP with openclaw browser start or use browser tool with profile="user"
  2. Open any webpage (e.g., https://baidu.com)
  3. Run browser action=screenshot or openclaw browser screenshot

Expected behavior

Screenshot should be saved successfully, or at least use a consistent/writable temp directory.

Actual behavior

Error: ENOENT: no such file or directory, open 'C:\Users\ZHENGZ~1\AppData\Local\Temp\openclaw\openclaw-chrome-mcp-XXXXXX\screenshot-file-uuid'

Note: The folder name (e.g., 5ThqkM, mPk77v, oJ2xtz, iM8ayT) is different each time, suggesting a random identifier is generated for each screenshot attempt.

OpenClaw version

2026.5.5

Operating system

window11 C:\Program Files\Google\Chrome\Application\chrome.exe`

Install method

No response

Model

minimax

Provider / routing chain

openclaw minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Screenshot should be saved successfully, or at least use a consistent/writable temp directory.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING