setViewport
Adjust browser viewport width and height to test responsive layouts on various screen sizes, with optional device pixel ratio.
Instructions
Change viewport dimensions. Test responsive layouts across screen sizes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Width px | |
| height | Yes | Height px | |
| deviceScaleFactor | No | Pixel ratio (default: 1) |