docs: use .mp4 extension in recording examples

This commit is contained in:
Tommy D. Rossi
2026-01-25 23:32:51 +01:00
parent 170ac7c87f
commit 0903105129
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2634,7 +2634,7 @@ describe('MCP Server Tests', () => {
})
await new Promise(r => setTimeout(r, 200))
const outputPath = path.join(process.cwd(), 'tmp', 'test-recording.webm')
const outputPath = path.join(process.cwd(), 'tmp', 'test-recording.mp4')
if (!fs.existsSync(path.dirname(outputPath))) {
fs.mkdirSync(path.dirname(outputPath), { recursive: true })
}
+1 -1
View File
@@ -429,7 +429,7 @@ Labels are color-coded: yellow=links, orange=buttons, coral=inputs, pink=checkbo
// Start recording - outputPath must be specified upfront
await startRecording({
page,
outputPath: './recording.webm',
outputPath: './recording.mp4',
frameRate: 30, // default: 30
audio: false, // default: false (tab audio)
videoBitsPerSecond: 2500000 // 2.5 Mbps