Commit f09b184
Add user-agent (#1646)
# why
For observability into stagehand sessions
# what changed
- Added a custom `Stagehand/<version>` user agent header to CDP
connections.
# test plan
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Set a custom User-Agent on CDP WebSocket connections:
Stagehand/<version> using STAGEHAND_VERSION. This helps servers identify
the client for logging and compatibility.
<sup>Written for commit 4a0c58d.
Summary will update on new commits. <a
href="https://cubic.dev/pr/browserbase/stagehand/pull/1646">Review in
cubic</a></sup>
<!-- End of auto-generated description by cubic. -->
---------
Co-authored-by: Chromie <miguel@browserbase.com>
Co-authored-by: Chromie Bot <chromie@browserbase.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 653268b commit f09b184
File tree
2 files changed
+12
-1
lines changed- .changeset
- packages/core/lib/v3/understudy
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
| |||
0 commit comments