Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Emulation.SetEmulatedMediaRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { SetEmulatedMediaRequest } = Protocol.Emulation;

Properties

optional
media: string

Media type to emulate. Empty string disables the override.

optional
features: MediaFeature[]

Media features to emulate.