Skip to content

[Bug]: browser evaluate aborts at hardcoded ~15s on Windows/2026.6.11; --timeout-ms ignored #103137

Description

@blinbaum

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Cannot get browser to work. Here's what my assistant had to share after Krill's help

Steps to reproduce

Summary openclaw browser evaluate reliably fails with AbortError: This operation was aborted. Passing --timeout-ms 60000 does not extend the wait — it aborts at ~15s every time, so the timeout override isn't applied and there appears to be a hardcoded ~15s abort in the evaluate path. Every other browser command on the same live session works, so CDP is healthy — this is specific to evaluate.

Repro

openclaw browser --browser-profile openclaw start
openclaw browser --browser-profile openclaw open https://example.com
openclaw browser --browser-profile openclaw evaluate --fn "() => 1 + 1" --timeout-ms 60000

→ GatewayClientRequestError: {"error":"AbortError: This operation was aborted"} after ~14.9s.

What works on the same session (rules out CDP health)

-browser doctor --deep → control endpoint reachable, profile O
-snapshot → returns live a11y tree with refs, instantly
-open, navigate, tabs, screenshot → all fine

Notes

  • Same abort on both --fn and --ref forms.
  • --json is not recognized on this build (evaluate --help lists only -h).
  • Control host on 18791 is up (bound via OPENCLAW_EAGER_BROWSER_CONTROL_SERVER=1 + install --force).

Expected behavior

Expected: evaluate returns the function result (2), and --timeout-ms governs the wait. Actual: aborts at ~15s regardless of --timeout-ms.

Sanitized diagnostics export attached.

Actual behavior

See above - this is all from my assistant - i'm a novice

OpenClaw version

2026.6.11 (e085fa1

Operating system

Windows 11

Install method

Gateway as Scheduled Task; browser profile openclaw (CDP, MS Edge)

Model

Claude Opus 4-8

Provider / routing chain

openclaw CLI → Gateway (127.0.0.1:18789) → Browser control host (127.0.0.1:18791) → Playwright → CDP → MS Edge (browser profile openclaw, persistent user-data dir) The abort happens at the control-host → Playwright/CDP evaluate step (~15s hardcoded), after the gateway routes the call — everything upstream is healthy.

Additional provider/model setup details

No response

Logs

Screenshots, recordings, and evidence

No response

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions