@puppeteer/replay / Schema / SetViewportStep
Schema.SetViewportStep
-
↳
SetViewportStep
• Optional
assertedEvents: NavigationEvent
[]
• deviceScaleFactor: number
• hasTouch: boolean
• height: number
• isLandscape: boolean
• isMobile: boolean
• Optional
target: string
Defaults to main
• Optional
timeout: number
• type: SetViewport
• width: number