Properties
isRecording
isRecording: boolean
Methods
stopRecording
- stopRecording(fileName?: undefined | string): Promise<void>
-
Parameters
-
Optional fileName: undefined | string
Returns Promise<void>
takeScreenshot
- takeScreenshot(fileName?: undefined | string): void
-
Parameters
-
Optional fileName: undefined | string
Returns void
The
recorder
API enables the taking of screenshot or recording a video.The output defaults to the
os.tmpdir()
directory, but can be overridden by therecorder.outputPath
option.