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

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: Emulation.UserAgentMetadata

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