From a8d80078464795576413252e8ebfeb7342680c39 Mon Sep 17 00:00:00 2001 From: Nick Shirokov Date: Tue, 3 Mar 2026 11:00:03 +0300 Subject: [PATCH] docs(web-test): update stopRecording return type in recording.md Co-Authored-By: Claude Opus 4.6 --- .claude/skills/web-test/recording.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.claude/skills/web-test/recording.md b/.claude/skills/web-test/recording.md index 07a69b05..c7232d83 100644 --- a/.claude/skills/web-test/recording.md +++ b/.claude/skills/web-test/recording.md @@ -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