Class SetUserAgentOverrideCommandSettings
Allows overriding user agent with the given string.
public sealed class SetUserAgentOverrideCommandSettings : ICommand
- Inheritance
-
SetUserAgentOverrideCommandSettings
- Implements
- Inherited Members
Properties
AcceptLanguage
Browser language to emulate.
[JsonPropertyName("acceptLanguage")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? AcceptLanguage { get; set; }
Property Value
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Platform
The platform navigator.platform should return.
[JsonPropertyName("platform")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Platform { get; set; }
Property Value
UserAgent
User agent to use.
[JsonPropertyName("userAgent")]
public string UserAgent { get; set; }
Property Value
UserAgentMetadata
To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData
[JsonPropertyName("userAgentMetadata")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public UserAgentMetadata? UserAgentMetadata { get; set; }