mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2.2 KiB
2.2 KiB
sidebar_label |
---|
ScreencastOptions |
ScreencastOptions interface
Signature:
export interface ScreencastOptions
Properties
Property | Modifiers | Type | Description | Default |
---|---|---|---|---|
crop | optional |
BoundingBox | Specifies the region of the viewport to crop. | |
ffmpegPath | optional |
string | Path to the [ffmpeg](https://ffmpeg.org/). Required if |
|
path | optional |
`${string}.webm` | File path to save the screencast to. | |
scale | optional |
number | Scales the output video. For example, |
1 |
speed | optional |
number | Specifies the speed to record at. For example, |
1 |