struct Playwright::DeviceDescriptor

Included Modules

Defined in:

playwright/impl/device_descriptor.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def default_browser_type : BrowserType #

[View source]
def device_scale_factor : Float64 #

[View source]
def has_touch : Bool #

[View source]
def is_mobile : Bool #

[View source]
def playwright : PlaywrightImpl | Nil #

[View source]
def playwright=(playwright : PlaywrightImpl | Nil) #

[View source]
def user_agent : String #

[View source]
def viewport : Viewport #

[View source]
def viewport=(viewport : Viewport) #

[View source]