Bake Profile
bake_profileSave the current browser session into a profile by opening a URL and waiting for you to log in, then closing the window to capture the authenticated state for reuse.
Instructions
プロファイルに新しい状態(ログイン等)を焼き付ける。headfulでブラウザを起動し、
ユーザーがウィンドウを閉じるまで待機する(SPEC.md 4節)。
method: "auto"(既定、$DISPLAYの有無で自動判定)/ "display"(ディスプレイに直接表示。
SSHのssh -X経由でも可) / "cdp"(ディスプレイが無い環境向け。Remote Debugging
ポートを開き、手元のブラウザからリモート操作する)
start_url: 最初に開くURL(例: ログインページ)。省略時は白紙タブ
cdp_host/cdp_port: method="cdp"時のbind先。閉域網内のアドレスを明示的に指定すること
timeout_seconds: この時間ブラウザが閉じられなければタイムアウトして強制終了する
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | auto | |
| profile | No | default | |
| cdp_host | No | 127.0.0.1 | |
| cdp_port | No | ||
| start_url | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |