-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrowserbase-session-structure.json
More file actions
49 lines (49 loc) · 1.67 KB
/
browserbase-session-structure.json
File metadata and controls
49 lines (49 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "Session",
"description": "The Browserbase Session object representing a managed cloud Chromium browser instance that automation clients drive over CDP or via SDKs.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the session.",
"example": "ses_abc123XYZ"
},
"status": {
"type": "string",
"description": "Lifecycle state of the session.",
"enum": ["PENDING", "RUNNING", "ERROR", "TIMED_OUT", "COMPLETED"],
"example": "RUNNING"
},
"connectUrl": {
"type": "string",
"description": "WebSocket URL used by Playwright/Puppeteer/Stagehand to connect to the session.",
"example": "wss://connect.browserbase.com?apiKey=...&sessionId=ses_abc123XYZ"
},
"seleniumRemoteUrl": {
"type": "string",
"description": "Selenium-compatible remote driver URL for the session."
},
"signingKey": {
"type": "string",
"description": "Short-lived signing key used for reconnects."
},
"projectId": {
"type": "string",
"description": "Project the session belongs to.",
"example": "proj_abc123"
},
"region": {
"type": "string",
"description": "Geographic region the session runs in.",
"example": "us-west-2"
},
"keepAlive": {
"type": "boolean",
"description": "Whether the session was created with keepAlive enabled."
},
"createdAt": { "type": "string", "format": "date-time" },
"updatedAt": { "type": "string", "format": "date-time" },
"startedAt": { "type": "string", "format": "date-time" },
"expiresAt": { "type": "string", "format": "date-time" }
}
}