session_record
Record browser sessions as replayable JSONL or export Playwright tests, capturing user actions and omitting sensitive values.
Instructions
Record the commands of this session as a replayable jsonl (chrome-bridge replay --file ); observe what the user does in a tab ("watch how I do it") into the same format plus a readable procedure, never recording sensitive values; export a recording as a Playwright test for CI. Replays target the tab they navigate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required for start, observe and export (recording name, or a .jsonl path) | |
| action | Yes | start records this session; observe records what the USER does; stop writes the file; export makes a Playwright test | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| values | No | observe: record values of non-sensitive fields instead of {{field}} placeholders | |
| save_to | No | Absolute path: write the exported .spec.ts there and return the path instead of the content |