StartScreencastRequest

@Serializable
data class StartScreencastRequest(val format: ScreencastFormat? = null, val quality: Int? = null, val maxWidth: Int? = null, val maxHeight: Int? = null, val everyNthFrame: Int? = null)

Request object containing input parameters for the PageDomain.startScreencast command.

Constructors

Link copied to clipboard
constructor(format: ScreencastFormat? = null, quality: Int? = null, maxWidth: Int? = null, maxHeight: Int? = null, everyNthFrame: Int? = null)

Types

Link copied to clipboard
class Builder

A builder for StartScreencastRequest, which allows setting the optional parameters of the PageDomain.startScreencast command via a lambda.

Properties

Link copied to clipboard
val everyNthFrame: Int? = null

Send every n-th frame.

Link copied to clipboard

Image compression format.

Link copied to clipboard
val maxHeight: Int? = null

Maximum screenshot height.

Link copied to clipboard
val maxWidth: Int? = null

Maximum screenshot width.

Link copied to clipboard
val quality: Int? = null

Compression quality from range 0..100.