Playwright があらかじめ初期化された新しいクラウドブラウザーセッションを起動します。
| ヘッダー | 値 |
|---|---|
Authorization | Bearer <API_KEY> |
Content-Type | application/json |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ttl | number | No | 300 | セッション全体の有効期間(秒)(30〜3600) |
activityTtl | number | No | 60 | セッションが破棄されるまでの非アクティブ状態の継続時間(秒)(10〜3600) |
| フィールド | 型 | 説明 |
|---|---|---|
success | boolean | セッションが作成されたかどうか |
id | string | セッションの一意の識別子 |
cdpUrl | string | CDP 接続用の WebSocket URL |
liveViewUrl | string | セッションをリアルタイムで閲覧するための URL |
expiresAt | string | TTL に基づいてセッションの有効期限が切れる時刻 |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.