启动一个已预先初始化 Playwright 的新云浏览器会话。
| Header | 值 |
|---|---|
Authorization | Bearer <API_KEY> |
Content-Type | application/json |
| 参数 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
ttl | number | 否 | 300 | 会话总有效期(秒)(30-3600) |
activityTtl | number | 否 | 60 | 会话在销毁前允许的不活动时长(秒)(10-3600) |
| 字段 | 类型 | 描述 |
|---|---|---|
success | boolean | 会话是否创建成功 |
id | string | 唯一的会话标识符 |
cdpUrl | string | 用于 CDP 连接的 WebSocket 地址 |
liveViewUrl | string | 用于实时查看会话的 URL |
expiresAt | string | 会话基于 TTL 的过期时间 |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.