import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { SetDeviceMetricsOverrideRequest } = Protocol.Page;
Properties
Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override.
Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more.
Overriding screen width value in pixels (minimum 0, maximum 10000000).
Overriding screen height value in pixels (minimum 0, maximum 10000000).
Overriding view X position on screen in pixels (minimum 0, maximum 10000000).
Overriding view Y position on screen in pixels (minimum 0, maximum 10000000).
Do not set visible view size, rely upon explicit setVisibleSize call.
Screen orientation override.
The viewport dimensions and scale. If not set, the override is cleared.