Taiko
Documentation

Home / API Reference

setViewPort

Overrides the values of device screen dimensions

Examples

await setViewPort({width:600, height:800})

Parameters


options

See chrome devtools setDeviceMetricsOverride for a list of options


Returns

Promise