docs: use .mp4 extension in recording examples
This commit is contained in:
@@ -2634,7 +2634,7 @@ describe('MCP Server Tests', () => {
|
|||||||
})
|
})
|
||||||
await new Promise(r => setTimeout(r, 200))
|
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))) {
|
if (!fs.existsSync(path.dirname(outputPath))) {
|
||||||
fs.mkdirSync(path.dirname(outputPath), { recursive: true })
|
fs.mkdirSync(path.dirname(outputPath), { recursive: true })
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -429,7 +429,7 @@ Labels are color-coded: yellow=links, orange=buttons, coral=inputs, pink=checkbo
|
|||||||
// Start recording - outputPath must be specified upfront
|
// Start recording - outputPath must be specified upfront
|
||||||
await startRecording({
|
await startRecording({
|
||||||
page,
|
page,
|
||||||
outputPath: './recording.webm',
|
outputPath: './recording.mp4',
|
||||||
frameRate: 30, // default: 30
|
frameRate: 30, // default: 30
|
||||||
audio: false, // default: false (tab audio)
|
audio: false, // default: false (tab audio)
|
||||||
videoBitsPerSecond: 2500000 // 2.5 Mbps
|
videoBitsPerSecond: 2500000 // 2.5 Mbps
|
||||||
|
|||||||
Reference in New Issue
Block a user