SetDeviceMetricsOverrideParameter
Constructors
Properties
If set, the posture of a foldable device. If not set the posture is set to continuous. Deprecated, use Emulation.setDevicePostureOverride.
Overriding device scale factor value. 0 disables the override.
If set, the display feature of a multi-segment screen. If not set, multi-segment support is turned-off. Deprecated, use Emulation.setDisplayFeaturesOverride.
Do not set visible view size, rely upon explicit setVisibleSize call.
Overriding screen height value in pixels (minimum 0, maximum 10000000).
Screen orientation override.
Overriding screen width value in pixels (minimum 0, maximum 10000000).
If set, the visible area of the page will be overridden to this viewport. This viewport change is not observed by the page, e.g. viewport-relative elements do not change positions.