startScreencast

suspend fun startScreencast(args: Page.StartScreencastParameter, mode: CommandMode = CommandMode.DEFAULT)

Starts sending each frame using the screencastFrame event.


suspend fun startScreencast(format: String? = null, quality: Int? = null, maxWidth: Int? = null, maxHeight: Int? = null, everyNthFrame: Int? = null)

Starts sending each frame using the screencastFrame event.

Parameters

format

Image compression format.

quality

Compression quality from range 0..100.

maxWidth

Maximum screenshot width.

maxHeight

Maximum screenshot height.

everyNthFrame

Send every n-th frame.