Set Device Metrics Override Request
@Serializable
Deprecated
Deprecated in the Chrome DevTools protocol
Request object containing input parameters for the PageDomain.setDeviceMetricsOverride command.
Constructors
Link copied to clipboard
constructor(width: Int, height: Int, deviceScaleFactor: Double, mobile: Boolean, scale: Double? = null, screenWidth: Int? = null, screenHeight: Int? = null, positionX: Int? = null, positionY: Int? = null, dontSetVisibleSize: Boolean? = null, screenOrientation: ScreenOrientation? = null, viewport: Viewport? = null)
Types
Properties
Link copied to clipboard
Overriding device scale factor value. 0 disables the override.
Link copied to clipboard
Do not set visible view size, rely upon explicit setVisibleSize call.
Link copied to clipboard
Overriding screen height value in pixels (minimum 0, maximum 10000000).
Link copied to clipboard
Screen orientation override.
Link copied to clipboard
Overriding screen width value in pixels (minimum 0, maximum 10000000).