Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface default.Emulation.SetUserAgentOverrideRequest
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { SetUserAgentOverrideRequest } = default.Emulation;

Properties

userAgent: string

User agent to use.

optional
acceptLanguage: string

Browser langugage to emulate.

optional
platform: string

The platform navigator.platform should return.

optional
userAgentMetadata: UserAgentMetadata

To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData