Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Emulation.SetUserAgentOverrideRequest

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Emulation.SetUserAgentOverrideRequest
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.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