session_record
Record browser session commands or watch user actions as replayable JSONL, then export the flow as a Playwright test. Use it to repeat a flow or hand over a procedure.
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. Use it for a flow to repeat or a procedure to hand over; for one check now, assert.
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 |