UserAgentMetadata

@Serializable
data class UserAgentMetadata(val brands: List<UserAgentBrandVersion>? = null, val fullVersionList: List<UserAgentBrandVersion>? = null, val fullVersion: String? = null, val platform: String, val platformVersion: String, val architecture: String, val model: String, val mobile: Boolean, val bitness: String? = null, val wow64: Boolean? = null, val formFactors: List<String>? = null)

Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints Missing optional values will be filled in by the target with what it would normally use.

Official doc

Constructors

Link copied to clipboard
constructor(brands: List<UserAgentBrandVersion>? = null, fullVersionList: List<UserAgentBrandVersion>? = null, fullVersion: String? = null, platform: String, platformVersion: String, architecture: String, model: String, mobile: Boolean, bitness: String? = null, wow64: Boolean? = null, formFactors: List<String>? = null)

Properties

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

Brands appearing in Sec-CH-UA.

Link copied to clipboard

Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

Brands appearing in Sec-CH-UA-Full-Version-List.

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)