mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-10 16:14:54 +03:00
docs(web-test): update stopRecording return type in recording.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -62,15 +62,16 @@ Start recording the browser viewport to an MP4 file.
|
||||
- Throws if already recording or browser not connected
|
||||
- Recording auto-stops when `disconnect()` is called
|
||||
|
||||
### `stopRecording()` → `{ file, duration, size }`
|
||||
### `stopRecording()` → `{ file, duration, size, captions }`
|
||||
|
||||
Stop recording and finalize the MP4 file.
|
||||
Stop recording and finalize the MP4 file. Saves `.captions.json` next to the video if captions were collected.
|
||||
|
||||
| Return field | Type | Description |
|
||||
|-------------|------|-------------|
|
||||
| `file` | string | Absolute path to the MP4 file |
|
||||
| `duration` | number | Recording duration in seconds |
|
||||
| `size` | number | File size in bytes |
|
||||
| `captions` | number | Number of captions collected during recording |
|
||||
|
||||
### `isRecording()` → boolean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user