pl.wendigo.chrome.api.emulation / SetVisibleSizeRequest

SetVisibleSizeRequest

data class SetVisibleSizeRequest (source)

Represents request frame that can be used with Emulation#setVisibleSize operation call.

Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.

Link
Emulation#setVisibleSize method documentation.

See Also

EmulationOperations.setVisibleSize

Constructors

<init>

SetVisibleSizeRequest(width: Int, height: Int)

Represents request frame that can be used with Emulation#setVisibleSize operation call.

Properties

height

val height: Int

Frame height (DIP).

width

val width: Int

Frame width (DIP).