RecordingOptions
data class RecordingOptions(val enabled: Boolean = true, val bitrate: Int, val scale: Float = 0.75f, val keepOnSuccess: Boolean = false, val startDelay: Long = 500, val stopDelay: Long = 1000, val continueDelay: Long = 250, val orientation: RecordingOrientation = RecordingOrientation.NATURAL)
See more information here
Parameters
enabled
true if screen recording should start for the test. Default: true
bitrate
the bitrate of the video file. Default: 16 mbps
scale
the video scale in relation to the original display size. Default: 75% of the screen resolution
keepOnSuccess
true if the recording should be kept if the test passes, false if it should be deleted
startDelay
the minimum amount of time to wait after the recording starts. Default: 500ms
stopDelay
the minimum amount of time to wait before the recording should be stopped. Default: 1 second
continueDelay
the minimum amount of time to wait before continuing to the recording of a next test Default: 250ms
orientation
the orientation of the screen recording. Default: RecordingOrientation.NATURAL