Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Emulation.SetUserAgentOverrideRequest

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Emulation.SetUserAgentOverrideRequest
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
const { SetUserAgentOverrideRequest } = Protocol.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