Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Emulation.SetEmulatedMediaRequest
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { SetEmulatedMediaRequest } = default.Emulation;

Properties

optional
media: string

Media type to emulate. Empty string disables the override.

optional
features: MediaFeature[]

Media features to emulate.