Add user-agent

Merged
MI
10mo ago
+12-1

why

For observability into stagehand sessions

what changed

  • Added a custom Stagehand/<version> user agent header to CDP connections.

test plan


Summary by cubic

Set a custom User-Agent on CDP WebSocket connections: Stagehand/ using STAGEHAND_VERSION. This helps servers identify the client for logging and compatibility.