struct Protocol::Emulation::UserAgentMetadata

Overview

Used to specify User Agent Cient 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.

Included Modules

Defined in:

protocol/emulation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def architecture : String #

[View source]
def bitness : String | Nil #

[View source]
def brands : Array(UserAgentBrandVersion) | Nil #

[View source]
def full_version : String | Nil #

[View source]
def full_version_list : Array(UserAgentBrandVersion) | Nil #

[View source]
def mobile : Bool #

[View source]
def model : String #

[View source]
def platform : String #

[View source]
def platform_version : String #

[View source]
def wow64 : Bool | Nil #

[View source]